vibe home
The home command navigates back to the main worktree without removing the current secondary worktree. This is useful when you need to temporarily check something in the main repository or switch to another worktree.
vibe homeOptions
Section titled “Options”-V, --verbose
Section titled “-V, --verbose”Show detailed output including the main worktree path.
vibe home --verbose-q, --quiet
Section titled “-q, --quiet”Suppress non-essential output.
vibe home --quietBehavior
Section titled “Behavior”When run from a secondary worktree, vibe home:
- Verifies you are inside a git repository
- Checks if you are already in the main worktree
- Navigates to the main worktree directory
When already in the main worktree, it shows an informational message and does nothing.
Examples
Section titled “Examples”# Navigate to main worktree from a secondary worktreevibe home
# Already in main worktree$ vibe homeAlready in the main worktree.Comparison with vibe clean
Section titled “Comparison with vibe clean”| Feature | vibe home | vibe clean |
|---|---|---|
| Removes worktree | No | Yes |
| Returns to main | Yes | Yes |
| Worktree preserved | Yes | No |
| Use case | Temporary navigation | Done with worktree |
Workflow
Section titled “Workflow”worktree (current) │ └── cd to main repository │ ▼main repository (new current) │ └── worktree still exists (can cd back)