vibe start
The start command creates a Git Worktree for the specified branch and changes to that directory.
vibe start <branch> [options]Options
Section titled “Options”| Option | Description | |
|---|---|---|
--reuse | Use an existing branch (don’t create new) | |
--no-hooks | Skip pre-start and post-start hooks | v0.5.0+ |
--no-copy | Skip file and directory copying | v0.5.0+ |
Examples
Section titled “Examples”# Create a worktree with a new branchvibe start feat/new-feature
# Use an existing branchvibe start feat/existing-branch
# Quick start without hooksvibe start feat/quick-fix --no-hooks
# Start without copying filesvibe start feat/clean-slate --no-copyBehavior
Section titled “Behavior”Idempotent Operation
Section titled “Idempotent Operation”vibe start is idempotent - running it multiple times with the same branch is safe:
- If the worktree already exists with the same branch, vibe navigates to it
- No duplicate worktrees are created
Interactive Prompts
Section titled “Interactive Prompts”vibe start handles various situations interactively:
Branch in use by another worktree
Section titled “Branch in use by another worktree”$ vibe start feat/new-featureBranch 'feat/new-feature' is already in use by worktree '/path/to/repo-feat-new-feature'.Navigate to the existing worktree? (Y/n)Directory exists with different branch
Section titled “Directory exists with different branch”You can choose from:
- Overwrite: Delete and recreate the worktree
- Reuse: Use the existing directory as-is
- Cancel: Abort the operation
Worktree Location
Section titled “Worktree Location”By default, worktrees are created as siblings to the main repository:
/path/to/repo/ # Main repository/path/to/repo-feat-new-feature/ # WorktreeWorkflow
Section titled “Workflow”When vibe start runs:
- Pre-start hooks run in origin repository (if configured)
- Worktree creation: Git worktree is created
- File copying: Files/directories are copied (if configured)
- Post-start hooks run in new worktree (if configured)
- Directory change: Terminal switches to the new worktree