Skip to main content

Git worktrees, made simple

A ZSH plugin that transforms how you work with git repositories. Switch between branches instantly, review PRs in parallel, and never stash again.

Quick start

Get up and running with Repo Manager in under a minute

1

Install the plugin

Add Repo Manager to your ZSH plugin manager:
antidote
# Add to .zsh_plugins.txt
abs3ntdev/repo-manager
zinit
zinit light abs3ntdev/repo-manager
sheldon
sheldon add repo-manager --github abs3ntdev/repo-manager
2

Clone a repository

Clone any repository using the worktree layout:
repo get github.com/user/repo
This creates a bare repository with a worktree for the default branch and automatically navigates you into it.
3

Create a new worktree

Work on multiple branches simultaneously:
repo wt add feature-branch
Switch between worktrees instantly without stashing:
repo wt go main
repo wt go feature-branch
4

Review a PR

Create a worktree from any GitHub pull request:
repo wt pr 42
This fetches the PR branch and creates a dedicated worktree for review.

Explore by topic

Learn about core concepts and commands

Worktree workflow

Understand how worktrees eliminate checkout friction and enable parallel development

Command reference

Complete reference for all repo commands and their options

Hooks & customization

Customize post-action behavior with hooks to integrate your workflow

PR review workflow

Learn efficient patterns for reviewing pull requests with worktrees

Key features

Everything you need for a modern git workflow

Instant switching

Jump between branches without stashing or losing context. Each worktree is a separate directory.

🔄

Bare repository layout

Repositories are cloned as bare repos with worktrees, keeping your git data centralized and clean.

🎯

PR worktrees

Create worktrees directly from GitHub PRs for isolated code review environments.

🔧

Customizable hooks

Override post-action hooks to integrate with your editor, terminal multiplexer, or custom tooling.

📁

Organized structure

All repositories are organized by domain and path, mirroring their remote URLs for easy navigation.

Convert existing repos

Migrate standard git clones to the worktree layout without losing history or re-cloning.

Ready to streamline your workflow?

Install Repo Manager and experience git worktrees the way they were meant to be used.

View installation guide