@jakeginnivan/grove
v0.14.0
Published
Git worktree manager with profiles, shell integration, and agent-friendly non-interactive commands
Maintainers
Readme
grove
A git worktree manager. Clone once, then work on several branches at the same time in separate directories — no stashing, no branch switching.
~/_code/my-service/
main/ # primary checkout — kept clean, used as a reference
260810-fix-login/ # a task worktree
260811-add-metrics-ABC-1/ # another, tagged with a ticket keyEvery directory is a real checkout backed by one clone, so switching tasks is
cd. Works on macOS, Linux and Windows, and every command can run
non-interactively so coding agents can drive it.
Get started
1. Install (Node 24+):
npm install -g @jakeginnivan/grove2. Configure your branch prefix, clone directory and task trackers, and add the shell integration:
grove setupThe shell integration gives you the wt shortcut, with Tab
completion, and lets it change your directory. Pick Shell integration in
the menu to add it to your shell's startup file, or run
grove shell-init --install on its own. zsh, bash, fish and PowerShell are
supported. See Configuration
for the line it adds, if you'd rather add it yourself.
3. Install the agent skills (optional, if you use Claude Code, Codex, Copilot CLI, Gemini CLI, Cursor or opencode):
grove skills installThis teaches your agents to find your repos, create a worktree per task and clean up after themselves. See Agent support.
Quick tour
wt clone [email protected]:owner/my-service.git # → ~/_code/my-service/main
wt new my-service "fix flaky login test" # new branch + worktree, cd'd into it
wt pick my-service # jump between worktrees
wt checkout my-service colleague/their-branch # review someone's branch
wt sync # fast-forward every main checkout
wt focus --watch # run this worktree's commits in the one focus checkout
wt cleanup my-service --merged # remove worktrees that have mergedwt and grove are the same commands; wt can also cd you. Already have a
clone? wt import ~/src/my-service adopts it.
Documentation
Using grove
- Repositories — clone, import or create repos, aliases
- Worktrees — start tasks, ticket keys, check out branches, stack work, move around, sync, clean up
- Profiles — group repos by directory with per-profile git config and rules for agents
- Agent support — skills, Claude Code auto mode,
--jsonoutput and error codes - Focus — run an app that can only run once per machine from one stable checkout, whichever worktree you are testing
- Per-repo
worktree.json— setup commands, per-worktree ports and focus hooks, committed or kept locally - Configuration —
grove setup, config keys, environment variables, shell integration
Working on grove
License
MIT
