Skip to main content

rt worktree

rt › worktree

Create, list and clean up worktrees

Usage​

bash
rt worktree

Subcommands​

CommandDescription
provisionGet a worktree for a ticket or branch
hookSet up Claude Code to use rt worktrees
createCreate a new worktree
disposeClean up a worktree
restoreBring back a cleaned-up worktree
ready-approveApprove a repo's setup script before it runs
listList worktrees
triageSee why worktrees are stuck and what's safe to do
freshenBring spare worktrees up to date with main
await-readyWait for a new worktree to finish setting up
adoptBring a repo's existing worktrees under rt
eachRun a command in every worktree