# I built a CLI to give each Claude Code session its own git worktree across multiple repos — retained record

> Retained reddit record from reddit:ClaudeAI.

Canonical: https://highsignal.app/data/records/32a986215e4521de

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:ClaudeAI)  published 2026-10-21 17:34 ingested 2026-10-22 02:37

[original source ↗](https://www.reddit.com/r/ClaudeAI/comments/1xbtq8c/i_built_a_cli_to_give_each_claude_code_session/)

## retained text



```
Most of my features touch two or three separate repos. Running several Claude Code sessions in parallel meant each one needed an isolated checkout of all of them, and I was doing `git worktree add` by hand in every repo and losing track of which branches belonged together.

Grove (`gw`) does that in one command: a workspace directory with every repo checked out on the same branch as a worktree. `gw status` shows each repo's branch and diff in one table, so I can see where every session got to. `gw delete` removes worktrees, branches and the directory.

    gw create -b feat/login -r api,web
    cd into it, start claude
    gw delete feat-login

**How Claude was involved:** I designed it and drive the development; Claude Code wrote most of the code. 221 of 366 commits carry a Claude Code co-author trailer (a few from Cursor), all reviewed by me. The repo has an AGENTS.md and the test/lint setup (`just check`) exists mostly so agents can verify their own work.

There's a skill in the repo that teaches Claude Code to use `gw` with explicit flags and JSON output instead of the interactive pickers:

    npx skills add nicksenap/grove --skill grove

Free, MIT, single static Go binary, only needs git: https://github.com/nicksenap/grove
```



document fetched 2026-10-22 00:23 · canonical https://reddit.com/r/ClaudeAI/comments/1xbtq8c/i_built_a_cli_to_give_each_claude_code_session
