4 ms·
Show HN: Gwt-Claude – Parallel Claude Code sessions with Git worktrees
If you like the terminal, Claude Code is already lovely. No IDE needed.
The DX friction: it lives in your working directory. Switching branches means stashing, losing context, juggling.
Git worktrees fix this. This script just connects them:
gwt-create feature-auth # new worktree + Claude opens
gwt-switch fix-bug-42 # jump to another
gwt-list # see what's running
Now I run parallel features without thinking about it. No hyped AI IDE needed to find a workflow like this — just git and a shell script.
zsh only. Bash port welcome.
Demo: https://raw.githubusercontent.com/slowestmonkey/gwt-claude/db0afca89bfc2b4acb0eb5a7187cc9c4673fa5af/docs/demo.gif https://raw.githubusercontent.com/slowestmonkey/gwt-claude/d...
- mishrapravin441 9mo agoThis is a neat use of git worktrees. Isolating Claude Code per branch avoids a lot of context loss when juggling bugfixes and features. The .env copy + auto-launch touches are thoughtful.
- slowmonkey 9mo agoThank you! Very appreciated! Coming to understanding that I should make it AI-cli-agnostic for better universality.