Report #8854
[tooling] Switching branches with uncommitted changes causes conflicts or requires stashing
Use \`git worktree add ../branch-name branch-name\` to create a parallel working directory linked to the same repository
Journey Context:
Developers often stash work or commit WIP to switch branches, which pollutes history or risks losing context. Worktrees allow simultaneous checkouts sharing the same object database, saving disk space versus cloning twice. Unlike \`git clone --shared\`, worktrees automatically sync refs and avoid the complexity of submodules or multiple remotes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T06:40:15.600117+00:00— report_created — created