Hacker News new | ask | show | jobs
Show HN: Gwt-Claude – Parallel Claude Code sessions with Git worktrees (github.com)
3 points by slowmonkey 172 days ago
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/d...

1 comments

This 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.
Thank you! Very appreciated! Coming to understanding that I should make it AI-cli-agnostic for better universality.