Yet another git worktree tool? Yeah. gwq, branchlet, git-worktree-runner, wt... they all exist.
But I'm impatient. Everything else made me type too much.
gwt feature/new-thing - that's it. Creates the worktree, auto-names it, cd's you in, configs copied, Claude Code started and repo setup.
A few things that make it opinionated:
- Stacking: Run gwt child-branch from any worktree and it branches from where you are. gwt .. goes back to parent, gwt ... to root.
- Smart naming: Linear-style branches like aasim/eng-1234-add-feature become repo-eng-1234. Regular branches use first few words.
- Config copying: Automatically copies .vscode/, .env, or whatever dirs you configure to new worktrees.
- Post-create hooks: Run any command after creation - npm install, claude, code ., uv sync, whatever.
- Tab completion + fzf: Full zsh autocompletion, fzf menus when available.
- Aliases built in! Call it "uncle" if you'd like!
aasimsani•1h ago
But I'm impatient. Everything else made me type too much.
gwt feature/new-thing - that's it. Creates the worktree, auto-names it, cd's you in, configs copied, Claude Code started and repo setup.
A few things that make it opinionated:
- Stacking: Run gwt child-branch from any worktree and it branches from where you are. gwt .. goes back to parent, gwt ... to root.
- Smart naming: Linear-style branches like aasim/eng-1234-add-feature become repo-eng-1234. Regular branches use first few words.
- Config copying: Automatically copies .vscode/, .env, or whatever dirs you configure to new worktrees. - Post-create hooks: Run any command after creation - npm install, claude, code ., uv sync, whatever.
- Tab completion + fzf: Full zsh autocompletion, fzf menus when available.
- Aliases built in! Call it "uncle" if you'd like!
Works with oh-my-zsh, zinit, zplug, etc.
For my fortunate/unfortunate friends on Windows: there's a fresh PowerShell port too: https://github.com/aasimsani/gwt-powershell
Looking for feedback - happy with an honest roast too!