dart pub global activate gitwhisper
AI-powered Git commit message generator that whispers the perfect commit message based on your staged changes
Everything you need to generate perfect commit messages with AI
Support for OpenAI GPT, Claude, Gemini, Grok, Llama, DeepSeek, and Ollama models
Follows conventional commit format with emojis for better readability
Analyzes your staged changes to understand context and generate meaningful messages
Automatically push commits to remote repository with a single command
Add ticket numbers or task IDs as prefixes to your commit messages
Securely save and manage API keys for different AI models
Get started in seconds with multiple installation options
dart pub global activate gitwhisper
Choose from a wide range of cutting-edge AI models
GPT-4, GPT-4o, GPT-3.5, O1
Opus, Sonnet, Haiku
Pro, Flash, Ultra
Grok-1, Grok-2, Grok-3
3.1, 3.2, 3.3 variants
Chat, Reasoner
Free models (rate limited)
Self-hosted models
Get started with GitWhisper in just a few commands
git add .
gitwhisper commit --model openai
GitWhisper will generate the perfect commit message and apply it automatically!
gw set-defaults --model claude --model-variant claude-3-opus
gw commit --prefix "JIRA-123"
gw commit --auto-push
gw analyze
Thank you to all the wonderful people who have contributed to GitWhisper
GitWhisper is open source and we'd love your help! Whether it's fixing bugs, adding features, improving documentation, or suggesting new AI models, every contribution makes a difference.