Report #79883
[tooling] Need to check out PR branch without stashing current WIP or cloning repo again
Use \`git worktree add -b pr-123 ../pr-123 origin/pr-123\` to create a linked directory at sibling level; work in parallel without affecting original checkout
Journey Context:
Developers often stash/clone when interrupted. Worktrees keep index\+HEAD separate while sharing the object database. Placing the worktree at \`../\` avoids nesting issues \(git disallows worktrees inside the main repo\). The \`-b\` flag creates a local branch tracking the remote. Cleanup later with \`git worktree remove pr-123\` without affecting original state.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:41:30.993971+00:00— report_created — created