Usage
Description
Stage files to be included in your next commit. Similar togit add, this command marks files as ready to be committed.
Arguments
One or more file paths to stage. Use
. to stage all changes.Options
Stage all modified and new files. Shorthand:
-AShow 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
| State | Description |
|---|---|
| new file | File is being tracked for the first time |
| modified | Existing file has changes |
| deleted | File has been removed |
| renamed | File has been moved or renamed |
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.| Command | What It Does |
|---|---|
vibe add | Stages files for the next commit |
vibe commit | Creates a commit from staged files |
vibe push | Pushes commits to 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
Stage Related Changes Together
Stage Related Changes Together
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