Usage
Description
Create a new commit from your staged changes. This captures your code changes along with any AI prompts that were used during development.Options
The commit message describing your changes.
Skip capturing AI prompts for this commit.
Override the commit author (format: “Name <email>”).
Examples
Basic Commit
Commit with Multi-line Message
Commit Without AI Prompts
Workflow
1
Make Changes
Edit your code files
2
Stage Files
3
Commit
4
Push
Output
A successful commit shows:What Gets Committed
| Content | Included |
|---|---|
| Staged file changes | Yes |
| Commit message | Yes |
| Author information | Yes |
| Timestamp | Yes |
| AI prompts (from Cursor, Claude, etc.) | Yes (by default) |
AI Prompt Capture
One of VibeHub’s unique features is capturing AI prompts alongside your commits. When you commit:- VibeHub scans for recent AI conversations
- Prompts from supported editors are captured
- Prompts are linked to the commit
Supported AI Tools
- Cursor
- Claude
- GitHub Copilot Chat
- Other AI assistants
Disabling Prompt Capture
If you don’t want to include AI prompts for a specific commit:Writing Good Commit Messages
Be Descriptive
Be Descriptive
Explain what the commit does and why.Good:
Add password reset functionality with email verificationBad: Fix stuffUse Imperative Mood
Use Imperative Mood
Write as if giving a command.Good:
Add login validationBad: Added login validationKeep First Line Short
Keep First Line Short
Aim for 50 characters or less for the first line. Add details in subsequent lines.
Reference Issues
Reference Issues
If applicable, reference issue numbers.
Common Patterns
Feature Commit
Bug Fix
Refactoring
Error Handling
Nothing to Commit
Empty Commit Message
-m:
Not Initialized
Local vs Remote
vibe commit creates a commit locally. To sync with VibeHub, you must run vibe push.Related Commands
- vibe add - Stage files for commit
- vibe push - Push commits to VibeHub
- vibe status - Check what’s staged
- vibe log - View commit history