Context Switching Without The Tax
Instead of repeatedly stashing and switching one checkout, keep each task in a dedicated worktree directory.
Benefits:
- fewer stash/unstash cycles
- less risk of stash conflicts
- less accidental cross-branch contamination
- faster interrupts, reviews, and hotfixes
Recommended pattern:
- Start a branch worktree with
worktree branch <name>. - Keep each ticket in a separate worktree folder.
- Reopen any active worktree with
worktree open.
Last updated on