Skip to main content

rt worktree create

rt › worktree › create

Create a fresh worktree (optionally straight into the on-deck pool)

Usage

rt worktree create [flags]

Arguments & flags

Flag / ArgTypeDefaultDescription
--repotextRegistered repo name (defaults to the current repo)
--on-deckbooleanfalsePut the new tree in the on-deck pool instead of claiming it
--jsonbooleanfalsePrint the raw result as JSON

See code: commands/worktree.ts › worktreeCreate