Usage
Description
Stage files to be included in your next commit. Similar togit add, this command marks files as ready to be committed.
Arguments
string[]
One or more file paths to stage. Use
. to stage all changes.Options
boolean
Stage all modified and new files. Shorthand:
-Aboolean
Show detailed output of staged files. Shorthand:
-vExamples
Stage a Single File
Stage Multiple Files
Stage All Changes
Stage with Verbose Output
Output
Basic Output
Verbose Output
File States
Workflow
A typical workflow usingvibe add:
Staging vs Committing
vibe add only stages files locally. You must run vibe commit to create a commit, then vibe push to sync with VibeHub.Unstaging Files
To unstage files before committing:Ignoring Files
Files listed in.gitignore or .vibeignore will be excluded from staging.
Common patterns to ignore:
Best Practices
Review Before Staging
Review Before Staging
Check what you’re about to stage:
Use Verbose Mode
Use Verbose Mode
When staging many files, use verbose mode to see what’s included:
Related Commands
- vibe commit - Commit staged changes
- vibe status - See what’s staged and unstaged
- vibe push - Push commits to VibeHub
