Skip to content

wtm

This content is for v0.28. Switch to the latest version for up-to-date documentation.

Orchestrate git worktrees and team dev workflows from the terminal

wtm [flags]
# Once per repository
wtm init
# A worktree per branch, then jump into it
wtm create feat/login
wtm go feat/login
# Every worktree, its PR and its services, on one screen
wtm ui
-h, --help help for wtm
-q, --quiet Silence human output; errors and the exit code are unaffected, and --output json still emits its document
  • wtm agents - Manage LLM agent integrations for wtm
  • wtm checkout - Create a worktree from an existing pull request
  • wtm clean - Remove a worktree and its local branch
  • wtm config - Inspect or edit the project wtm config
  • wtm create - Create a new worktree
  • wtm env - Reconcile a worktree's .env against its template and value sources
  • wtm extract - Move uncommitted changes to another worktree
  • wtm fast-forward - Advance worktree branches to their origin counterpart
  • wtm go - Switch to a worktree
  • wtm init - Initialize wtm configuration
  • wtm list - List all worktrees
  • wtm prune - Remove finished worktrees (merged, closed PR or gone) in one pass
  • wtm relocate - Move worktrees to align with base_path and adopt external ones
  • wtm reparent - Change the parent one or more worktrees are rebased onto
  • wtm resolve - Resolve a branch to its worktree path
  • wtm run - Manage dev jobs (services + tasks)
  • wtm schema - Inspect or extract bundled JSON Schemas
  • wtm shell-init - Generate shell integration function
  • wtm sync - Rebase selected worktrees onto their parent, in cascade
  • wtm tree - Show the worktree forest (parent → child)
  • wtm ui - Open the worktree dashboard
  • wtm upgrade - Update wtm to the latest release