Create a worktree and prepare its local Docker setup.
docktree create <branch>
Runs git worktree add -b <branch> and then runs setup steps (copy files, create symlinks, run commands) from docktree.yml.
| Arg | Description |
|---|---|
<branch> | The branch name for the new worktree (required) |
docktree create feature/dark-mode
This is equivalent to running docktree prepare after git worktree add. To start the stack after creating, use docktree up --create <branch> instead.