Skip to content

yuucu/ccgwz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ CCGWZ

Claude Code Git Worktree Zellij

Work on multiple branches simultaneously with git worktrees, zellij panes, and Claude Code instances.

โœจ What is CCGWZ?

Imagine working on a feature branch while simultaneously fixing a bug on another branch, all without the hassle of switching contexts. CCGWZ makes this possible by:

  • ๐ŸŒฟ Creating isolated git worktrees for each branch
  • ๐Ÿ–ฅ๏ธ Setting up organized zellij panes
  • ๐Ÿค– Launching Claude Code in each workspace

๐ŸŽฏ Quick Start

# Just run it!
npx ccgwz
# or
bunx ccgwz

# Or install globally
npm install -g ccgwz
# or
bun install -g ccgwz

Requirements: Git repo + Zellij + Claude Code

๐ŸŽฎ Usage

ccgwz                    # Interactive: create 1 pane
ccgwz --panes 2          # Create 2 panes

๐Ÿ’ก Pro Tip: Create an Alias

Add this to your shell profile (.bashrc, .zshrc, etc.) for quick access:

alias zz="bunx ccgwz"
# or if you prefer npm
alias zz="npx ccgwz"

Then simply run:

zz              # Launch CCGWZ instantly!
zz --panes 3    # Create 3 panes quickly

๐Ÿ—๏ธ What happens?

  1. ๐Ÿ“ Validates your environment (git repo, zellij running)
  2. ๐Ÿ’ฌ Prompts for branch names interactively
  3. ๐ŸŒณ Creates worktrees like ../myproject-feature/
  4. ๐ŸŽ›๏ธ Arranges zellij panes in optimal layout
  5. ๐Ÿš€ Launches Claude Code in each workspace

๐Ÿ“– Documentation

๐Ÿ“ฆ Repository

๐Ÿค Contributing

We welcome contributions! See docs/SETUP.md for development setup.

๐Ÿ“„ License

MIT

About

๐Ÿš€ CCGWZ: Multi-branch dev with git worktrees, Zellij, and Claude Code.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages