Skip to main content

Usage

Description

Stage files to be included in your next commit. Similar to git add, this command marks files as ready to be committed.

Arguments

files
string[]
One or more file paths to stage. Use . to stage all changes.

Options

--all
boolean
Stage all modified and new files. Shorthand: -A
--verbose
boolean
Show detailed output of staged files. Shorthand: -v

Examples

Stage a Single File

Stage Multiple Files

Stage All Changes

Or:

Stage with Verbose Output

Output

Basic Output

Verbose Output

File States

Workflow

A typical workflow using vibe 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:
Or unstage all:

Ignoring Files

Files listed in .gitignore or .vibeignore will be excluded from staging. Common patterns to ignore:

Best Practices

Check what you’re about to stage:
When staging many files, use verbose mode to see what’s included: