git-worktrees
Installation
SKILL.md
Git Worktrees
Work on multiple branches simultaneously without stashing or switching.
Quick Reference
Core Commands
| Action | Command |
|---|---|
| List worktrees | git worktree list |
| Add worktree | git worktree add ../path branch |
| Add new branch | git worktree add -b new-branch ../path |
| Remove worktree | git worktree remove ../path |
| Prune stale | git worktree prune |
| Lock worktree | git worktree lock ../path |