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 name to fetch from. Defaults to
origin.Options
Fetch from all remotes.
Remove remote-tracking references that no longer exist on the remote.
Show detailed output including all remote branches.
Examples
Basic Fetch
Fetch with Details
When to Use Fetch
Usevibe 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
| Command | Downloads Data | Updates Working Files | Merges Changes |
|---|---|---|---|
vibe fetch | Yes | No | No |
vibe pull | Yes | Yes | Yes |
Typical Workflow
Error Messages
Not Connected
Network Error
Related Commands
- vibe pull - Fetch and merge changes
- vibe branch - List branches (including remote)
- vibe diff - Compare local and remote branches
