Git Worktree Manager
Manage git worktrees for parallel branch development.
Usage
/git-worktree-manager create <branch> [--path <dir>]
/git-worktree-manager list
/git-worktree-manager remove <path>
/git-worktree-manager status
/git-worktree-manager prune
When to Use Worktrees
- Work on a hotfix while keeping your feature branch state
- Run tests on one branch while coding on another
- Compare behavior across branches side-by-side
- Isolated CI/CD task execution
Actions
| Action | Description |
|---|---|
create |
Create a new worktree for a branch |
list |
List all active worktrees |
remove |
Remove a worktree and clean up |
status |
Show git status across all worktrees |
prune |
Clean up stale worktree references |