Skip to main content

Usage

vibe status [options]

Description

Display the current status of your VibeHub repository, including sync state, connected project, and pending changes.

Options

--verbose
boolean
Show detailed status information including file lists.
--json
boolean
Output status in JSON format for scripting.

Examples

Basic Status

vibe status

Verbose Status

vibe status --verbose

JSON Output

vibe status --json

Output

Connected and Synced

VibeHub Status
─────────────
Project:    username/my-project
Branch:     main
Status:     ✓ Up to date

Last push:  2 hours ago
Last pull:  2 hours ago

Changes Pending

VibeHub Status
─────────────
Project:    username/my-project
Branch:     main
Status:     ⚠ Changes not pushed

Local changes:
  • 3 commits ahead
  • 5 files modified

Run 'vibe push' to sync.

Not Connected

VibeHub Status
─────────────
Status:     ✗ Not connected

Run 'vibe set <project-url>' to connect to a project.

Not Initialized

VibeHub Status
─────────────
Status:     ✗ Not initialized

Run 'vibe init' to set up VibeHub in this directory.

Status Indicators

IndicatorMeaning
✓ Up to dateLocal and remote are in sync
⚠ Changes not pushedLocal commits need to be pushed
⚠ Behind remoteRemote has commits you don’t have
✗ Not connectedNo VibeHub project connected
✗ Not initializedVibeHub not set up in this directory

Verbose Output

With --verbose, you’ll also see:
VibeHub Status (verbose)
───────────────────────
Project:    username/my-project
URL:        https://vibehub.co.in/username/my-project
Branch:     main
Status:     ⚠ Changes not pushed

Local commits (not pushed):
  • abc1234 - Add user authentication
  • def5678 - Fix login bug
  • ghi9012 - Update readme

Modified files:
  • src/auth.js
  • src/login.js
  • README.md
  • package.json
  • tests/auth.test.js

Run 'vibe push' to sync.

JSON Output

For scripting and automation:
vibe status --json
{
  "initialized": true,
  "connected": true,
  "project": {
    "name": "my-project",
    "owner": "username",
    "url": "https://vibehub.co.in/username/my-project"
  },
  "branch": "main",
  "synced": false,
  "commitsAhead": 3,
  "commitsBehind": 0,
  "modifiedFiles": 5
}

Use Cases

Check status to see what will be pushed:
vibe status --verbose
vibe push
Use verbose mode to understand sync state:
vibe status --verbose
Use JSON output in scripts:
if vibe status --json | jq -e '.synced == false'; then
  vibe push
fi