Loading...
Loading...
Create and manage git worktrees for parallel coding sessions with zero dead time. Use when blocked on tests, builds, wanting to work on multiple branches, context switching, or exploring multiple approaches simultaneously.
npx skill4agent add rohitg00/pro-workflow parallel-worktreesclaude --worktree # or claude -w (auto-creates isolated worktree)git worktree add ../project-feat feature-branch
# Open the new worktree folder in a second editor windowclaude -wisolation: worktreeCtrl+FCtrl+Bgit worktree listgit worktree list
git worktree add ../project-feat feature-branch
git worktree add ../project-fix bugfix-branch
git worktree add ../project-exp -b experiment
git worktree remove ../project-feat
git worktree pruneTerminal 1: ~/project → Main work
Terminal 2: ~/project-feat → Feature development
Terminal 3: ~/project-fix → Bug fixes| Scenario | Action |
|---|---|
| Tests running (2+ min) | Start new feature in worktree |
| Long build | Debug issue in parallel |
| Exploring approaches | Compare 2-3 simultaneously |
| Review + new work | Reviewer in one, dev in other |
| Waiting on CI | Start next task in worktree |
git -C ../project-feat statusgit worktree prune