worktrees:concepts
Installation
SKILL.md
Git Worktrees Reference
Comprehensive reference for git worktrees in AI development workflows.
What Are Worktrees?
Git worktrees allow checking out multiple branches simultaneously in separate directories, all sharing the same .git repository.
Key characteristics:
- Each worktree has its own working directory and index
- All worktrees share the same Git history and objects
- Branches checked out in worktrees are "locked" to prevent checkout elsewhere
- Worktrees persist across sessions until explicitly removed