Branchlet is a CLI tool for creating and managing Git worktrees. It simplifies worktree operations for developers, allowing them to switch between branches and manage multiple worktrees efficiently. It integrates with Git and is supported by Claude.
git clone https://github.com/raghavpillai/branchlet.gitBranchlet is a CLI tool for creating and managing Git worktrees. It simplifies worktree operations for developers, allowing them to switch between branches and manage multiple worktrees efficiently. It integrates with Git and is supported by Claude.
[{"step":"Install Branchlet CLI by following the [official installation guide](https://github.com/branchlet/branchlet#installation). Ensure Git is installed and configured on your system.","tip":"Verify installation with `branchlet --version`. If using Claude, ensure the CLI tool is accessible in your terminal environment."},{"step":"Navigate to your Git repository or specify the repository path in the command. Use `branchlet list` to check existing worktrees before creating new ones.","tip":"Run `branchlet list --repo /path/to/repo` to see all worktrees associated with a repository. This helps avoid naming conflicts."},{"step":"Use `branchlet create` to generate a new worktree. Specify the source branch, worktree name, and repository path. Example: `branchlet create --from feature/xyz --name xyz-dev --repo /projects/app`.","tip":"Use `--default main` to set the default branch for the new worktree. This is useful if you frequently switch between branches."},{"step":"Switch between worktrees using `branchlet switch <worktree-name>`. Navigate to the worktree directory and start working.","tip":"Use `branchlet prune` to clean up stale worktrees (e.g., after merging branches). Always verify with `branchlet list` before pruning."},{"step":"Integrate Branchlet into your workflow by automating worktree creation for feature branches. Use it alongside Git commands like `git checkout` and `git merge`.","tip":"Combine Branchlet with scripts to automate worktree setup for new feature branches. For example, create a script that runs `branchlet create` after `git checkout -b feature/xyz`."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/raghavpillai/branchletCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use the Branchlet CLI tool to [ACTION] for [REPOSITORY_PATH]. [SPECIFIC_DETAILS]. For example: 'Use Branchlet to create a new worktree from the feature/login branch for the /home/user/projects/myapp repository. Name the worktree "login-dev" and set the default branch as main.'
```bash $ branchlet create --from feature/login --name login-dev --repo /home/user/projects/myapp --default main ✅ Created worktree 'login-dev' from 'feature/login' at /home/user/projects/myapp/login-dev 📂 Initialized empty Git repository in /home/user/projects/myapp/login-dev/.git/ 🔄 Switched to branch 'main' (tracking 'origin/main') 📝 Next steps: 1. Navigate to the worktree: cd /home/user/projects/myapp/login-dev 2. Start development on the 'login-dev' worktree 3. Push changes to 'feature/login' when ready 💡 Tip: Use 'branchlet list' to view all worktrees and 'branchlet switch login-dev' to return to this worktree later. ```
Free Accounting Software
IronCalc is a spreadsheet engine and ecosystem
ITIL-aligned IT service management platform
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan