Report #6294
[tooling] Need to switch branches but have uncommitted changes or want to avoid stashing
Use \`git worktree add ../-worktree \` to create a linked working directory without switching context
Journey Context:
Instead of stashing changes or creating messy temporary clones, worktrees create lightweight linked directories sharing the same object database. This prevents stash/apply conflicts and allows simultaneous work on multiple branches \(e.g., hotfixes while developing features\). Crucially, each worktree can have its own set of untracked files and build artifacts without polluting the main workspace.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T23:43:36.011068+00:00— report_created — created