Skip to Content

worktree open

Open an existing worktree in your configured editor, or as a Herdr space when opener is set to herdr. With opener set to none, nothing is opened and the path is printed.

Usage

worktree open [branch]

Examples

worktree open feature/add-bulk-actions

If you omit the branch, the CLI presents an interactive picker. A non-interactive run has no picker: without the argument it exits 2 with worktree: no default for the branch to open; pass <branchName>.

Last updated on