Report #85824
[tooling] Working on multiple Git branches simultaneously requires constant stashing or dirty working directory hacks
Use \`git worktree add ../ \` to create parallel working directories linked to the same repository, allowing simultaneous work on different branches with independent build artifacts.
Journey Context:
Developers often switch contexts with \`git checkout\`, stashing changes or committing WIP code unnecessarily. Worktrees allow true parallel work: e.g., \`git worktree add ../hotfix main\` creates a new directory \`../hotfix\` checked out to main while you continue coding in the original directory on your feature branch. This is critical for long-running builds or CI that locks the working directory. Unlike cloning, worktrees share the same \`.git\` object database, saving disk space. Clean up with \`git worktree remove \` to avoid stale metadata.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:38:25.978124+00:00— report_created — created