rt worktree
rt › worktree
Create, list and clean up worktrees
Usage
bash
rt worktree
Subcommands
| Command | Description |
|---|---|
provision | Get a worktree for a ticket or branch |
hook | Set up Claude Code to use rt worktrees |
create | Create a new worktree |
dispose | Clean up a worktree |
restore | Bring back a cleaned-up worktree |
ready-approve | Approve a repo's setup script before it runs |
list | List worktrees |
triage | See why worktrees are stuck and what's safe to do |
freshen | Bring spare worktrees up to date with main |
await-ready | Wait for a new worktree to finish setting up |
adopt | Bring a repo's existing worktrees under rt |
each | Run a command in every worktree |