Report #35035
[tooling] Running tests on multiple Git branches without checkout conflicts or stashing
Use git worktree add ../ to create isolated working directories for each branch, allowing parallel test runs without disturbing your main working tree
Journey Context:
Most developers switch branches or stash changes, which is serial and error-prone. Worktrees allow true parallelism. The tradeoff is disk space \(though .git is actually shared via hardlinks\), but modern systems handle this fine. Alternative is cloning multiple times, which wastes space and desynchronizes remotes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:16:50.415488+00:00— report_created — created