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 / Arg | Type | Default | Description |
|---|---|---|---|
--repo | text | Registered repo name (defaults to the current repo) | |
--on-deck | boolean | false | Put the new tree in the on-deck pool instead of claiming it |
--json | boolean | false | Print the raw result as JSON |
See code: commands/worktree.ts › worktreeCreate