Skip to content

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.

Terminal window
vibe home

Show detailed output including the main worktree path.

Terminal window
vibe home --verbose

Suppress non-essential output.

Terminal window
vibe home --quiet

When run from a secondary worktree, vibe home:

  1. Verifies you are inside a git repository
  2. Checks if you are already in the main worktree
  3. Navigates to the main worktree directory

When already in the main worktree, it shows an informational message and does nothing.

Terminal window
# Navigate to main worktree from a secondary worktree
vibe home
# Already in main worktree
$ vibe home
Already in the main worktree.
Featurevibe homevibe clean
Removes worktreeNoYes
Returns to mainYesYes
Worktree preservedYesNo
Use caseTemporary navigationDone with worktree
worktree (current)
└── cd to main repository
main repository (new current)
└── worktree still exists (can cd back)
  • start - Create worktrees
  • clean - Remove worktrees