+
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

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载