Report #8768
[tooling] Switching branches requires stashing or committing unfinished work, interrupting flow
Use \`git worktree add ../- \` to create a separate working directory for the target branch, enabling parallel work on multiple branches without stashing or dirtying the main workspace.
Journey Context:
Developers conventionally use \`git stash\` to context-switch, which creates a fragile stack that is easily forgotten or causes conflicts on pop. Worktrees utilize the same git object database but provide isolated working directories per branch, eliminating the mental overhead of stash management and the risk of cross-branch contamination. This is strictly superior to cloning the repository multiple times \(wastes disk space, risks divergent remotes\) and avoids the 'stash stack' anti-pattern entirely.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T06:20:23.250987+00:00— report_created — created