Report #52292
[tooling] Need to review a PR or work on a feature branch while main has uncommitted changes
Use \`git worktree add ../repo-pr-review pr-branch-name\` to checkout the PR in a parallel directory sharing the same git object database, avoiding stashing or switching branches entirely
Journey Context:
Developers commonly stash changes or create temporary branches and switch back and forth, which is slow and risks losing state. Worktrees allow simultaneous checkouts in separate directories with independent HEADs but shared objects, enabling truly parallel workflows without the 'dirty tree' problem.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:16:04.199641+00:00— report_created — created