What problem does it solve?
Git worktrees create isolated workspaces sharing the same repository, enabling concurrent feature work across branches without mutating the main working directory.
Core Features & Use Cases
- Directory priority and safety: detect existing local worktree folders, verify they are ignored, and prevent accidental commits of worktree contents.
- Guided creation and cleanup: automatically create a new worktree, switch context to the feature branch, and remove it when done.
- Baseline readiness: ensure a clean starting point by running project setup and baseline tests before starting work.
Quick Start
Start by identifying or creating a dedicated worktree directory, then add a new feature branch and switch to it:
- Check for a preferred worktree location (.worktrees or worktrees)
- If absent, prompt for a location and proceed with git worktree add -b <branch> <path>
- After work is complete, remove the worktree with git worktree remove <path> and delete the feature branch if merged.