Report #63986
[tooling] Switching branches with uncommitted work requires stashing or committing WIP
Use \`git worktree add -b ../\` to create a linked working tree that shares the same object database but has an independent HEAD, allowing simultaneous work on multiple branches without stashing.
Journey Context:
Stashing is destructive and easy to forget; cloning the repo twice wastes disk space and causes drift. Worktrees allow truly parallel branches with zero duplication overhead since they share the \`.git\` object store. The common mistake is nesting worktrees inside the main repo; instead use \`../branch-name\` to keep them sibling directories, avoiding git confusion and making cleanup trivial.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T13:53:01.472550+00:00— report_created — created