rimba
Automates the full git worktree lifecycle — branch naming, file copying, dependency sharing, post-create hooks, and cleanup — so you can develop across multiple branches simultaneously with zero friction.
Worktree lifecycle
Create, list, and remove git worktrees with a single command. Each task gets its own isolated branch and directory.
Smart branch naming
Typed prefixes (feature/, bugfix/, docs/, …) are applied automatically based on flags — no manual branch naming.
File & dependency sharing
Declare files and vendor directories to copy or clone into every new worktree, so dependencies are ready from the first second.
Post-create hooks
Run arbitrary shell commands after each worktree is created — install tools, set env vars, open your editor, anything.
Sync, merge & cleanup
Rebase from the default branch, merge finished work, and delete the worktree and branch in one step with rimba merge.
MCP integration
Expose rimba operations as MCP tools so AI coding agents can create and manage worktrees on your behalf.
Quick Start
# Install (Linux/macOS)
curl -sSfL https://raw.githubusercontent.com/lugassawan/rimba/main/scripts/install.sh | bash
# Initialize a repo
rimba init
# Create a worktree for a task
rimba add my-feature --feature
# List all worktrees
rimba status
# Merge and clean up when done
rimba merge
Reference
- Command — all commands, flags, and examples
- Configuration —
.rimba/settings.tomloptions - Troubleshooting — error messages, hints, and fixes