Skip to main content

rt worktree

rt › worktree

Worktree lifecycle (provision/dispose/list) + worktree-wide operations

Usage

rt worktree

Subcommands

CommandDescription
provisionClaim a worktree for a ticket or branch (from the on-deck pool, or freshly created)
hookClaude Code worktree hook: install, remove, or inspect the WorktreeCreate/WorktreeRemove wiring
createCreate a fresh worktree (optionally straight into the on-deck pool)
disposeDispose a worktree (no target + TTY → picker)
restoreRestore a disposed worktree from its retained trash entry (no target + TTY → picker)
ready-approveApprove a repo's team-authored ready shell before it runs (no repo + TTY → picker)
listList worktrees
freshenFreshen worktrees (no arg + TTY → picker over freshenable trees)
await-readyWait for a claimed tree's background ready steps to settle (no tree + TTY → picker)
adoptOne-shot migration: adopt an unmanaged repo's worktrees into the registry
eachRun a command in each worktree (--all