Documentation
Complete guide to using GitVibe for AI-powered commit messages and PR descriptions
Quick Start
1. Install GitVibe
npm install -g gitvibe2. Initialize Configuration
gitvibe initThis will guide you through selecting an AI provider and entering your API key.
3. Generate Commit Message
git add .gitvibe commit --applyCommands
gitvibe init
Initialize GitVibe with AI provider setup
gitvibe initWhat it does:
- Guides you through provider selection (Groq, OpenAI, Google, Anthropic)
- Lets you choose from available models
- Securely stores your API key
- Tests the configuration
- Creates a default configuration file
Common Workflows
Quick Commit
git add .gitvibe c --applyFeature Branch to PR
git checkout -b feature/newgit add . && gitvibe c --applygit push origin feature/newgitvibe pr --openReview Before Committing
git add src/gitvibe commit --copyReview and edit, then commit manually
Multi-Commit PR
gitvibe c --applyMake more changes...
gitvibe c --applygitvibe pr --commits 2 --openConfiguration
Configuration File Location
~/.gitvibe/configs/<name>.yamlExample Configuration
ai_provider: groq
model: llama3-8b-8192
temperature: 0.7
max_commit_tokens: 1024
max_pr_tokens: 65536
stream_output: true
commit_variations: 1
commit_prompt: |
Generate a concise commit message following
conventional commits format.
{diff}
pr_prompt: |
Generate a professional PR title and description.
{commits}Supported AI Providers
- Groq - Fast inference with Llama models (recommended for free tier)
- OpenAI - GPT-4, GPT-3.5 models
- Anthropic - Claude models
- Google - Gemini models
Tips & Best Practices
Stage Related Changes
Group related files together for better commit messages
✓
git add src/auth.ts src/auth.test.ts✗
git add src/auth.ts src/ui.cssUse Project-Specific Configs
Create different configs for different projects or teams
gitvibe config new work-projectgitvibe config new personalReview Staged Changes
Always check what you're committing
git statusgit diff --cachedgitvibe cAdjust Temperature
Control AI creativity in your config
temperature: 0.3More focusedtemperature: 1.0More creativeNeed More Help?
Check out the complete CLI guide and GitHub repository for detailed documentation, examples, and troubleshooting.