Skip to main content

Usage

Description

Download branches and their commit references from the remote VibeHub project. This updates your local knowledge of remote branches without modifying your working files.
Unlike vibe pull, fetch only downloads metadata and doesn’t merge changes into your working branch.

Arguments

remote
string
Remote name to fetch from. Defaults to origin.

Options

--all
boolean
Fetch from all remotes.
--prune
boolean
Remove remote-tracking references that no longer exist on the remote.
-v, --verbose
boolean
Show detailed output including all remote branches.

Examples

Basic Fetch

Output:

Fetch with Details

Output:

When to Use Fetch

Use vibe fetch when you want to:
  • See what branches exist on the remote
  • Check if there are new commits before pulling
  • Update your local reference of remote branches
  • Prepare for a merge without affecting your working files

Fetch vs Pull

Typical Workflow

Error Messages

Not Connected

Solution: Connect your repository to a VibeHub project first.

Network Error

Solution: Check your internet connection and try again.