Usage
Description
Pull commits and files from your VibeHub project to your local machine. This syncs your local repository with the remote state.Options
Force pull and overwrite local changes. Use with caution.
Preview what would be pulled without actually pulling.
Specify a project ID to pull from.
Specify which branch to pull from (defaults to current branch).
Examples
Basic Pull
Preview Changes
Force Pull
What Gets Pulled
When you pull, you receive:| Content | Included |
|---|---|
| New commits | Yes |
| Updated files | Yes |
| Deleted files | Yes |
| Commit metadata | Yes |
| AI prompts | Yes (viewable in VibeHub) |
Prerequisites
Before pulling, ensure you have:- Authenticated with
vibe login - Initialized your project with
vibe init - Connected to a VibeHub project with
vibe set <project-url>
Pull Workflow
Output
A successful pull shows:Handling Conflicts
If your local changes conflict with remote changes:Resolving Conflicts
- Backup your changes: Copy modified files elsewhere
- Force pull:
vibe pull --force - Manually merge: Re-apply your changes to the pulled files
Use Cases
Syncing Multiple Machines
Syncing Multiple Machines
Use pull to get the latest code when switching between computers.
Getting Team Changes
Getting Team Changes
Pull to receive commits pushed by collaborators.
Starting Fresh
Starting Fresh
Force pull to reset your local state to match VibeHub.
Error Handling
Not Connected
vibe set.
Not Authenticated
vibe login.
No Remote Changes
Related Commands
- vibe push - Push commits to VibeHub
- vibe status - Check sync status
- vibe clone - Clone a project