Report #83368
[tooling] Need to switch branches but have uncommitted work without stashing
Use git worktree add to checkout a branch in a new directory, leaving current workspace intact
Journey Context:
Stashing interrupts flow and risks conflicts; cloning the repo again wastes disk; worktrees share the same .git object database but allow independent working directories, letting you run tests on main while keeping feature branch changes intact
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:31:23.043499+00:00— report_created — created