The simplest way to generate Git commit messages - powered by AI
One thing, done right. No bloat, no confusion. Just fast, intelligent commit message generation.
Tired of complex extensions that try to do everything? Only Auto Commit does exactly what it says: automatically generates meaningful commit messages using AI. That's it.
- Lightweight: Minimal dependencies, fast startup, no performance impact
- Simple: One-click commit message generation, no complex workflows
- Flexible: Works with any OpenAI-compatible API or local LLM
- Secure: API keys stored safely using VS Code's built-in security
- Fast: Optimized for speed - get commit messages in seconds
Install from the VS Code Marketplace with this command:
ext install sunbankio.onlyautocommit
- Open VS Code Settings
- Set your API endpoint (default: OpenAI)
- Set your model (default: gpt-3.5-turbo)
- Use "Only Auto Commit: Set API Key" command to securely store your API key
- Stage your changes in Git
- Click the "Generate Commit Message" button in Source Control
- Review and commit - that's it!
Just two settings to worry about:
- API Endpoint: Your LLM provider's URL (supports OpenAI, local models, etc.)
- Model: The AI model to use for generation
onlyautocommit.baseUrlonlyautocommit.modelId
To use with Ollama running on the default local port with the gpt-oss:20b model:
- API Endpoint:
http://localhost:11434/v1 - Model:
gpt-oss:20b
No complex workflows. No unnecessary options. It just works.
Your API keys are stored using VS Code's secure SecretStorage - clear text never written to disk or logged.
- VS Code: 1.74.0+
- Git: Any version (uses VS Code's built-in Git extension)
- LLMs: Any OpenAI-compatible API (OpenAI, Azure, local models, etc.)
MIT License - Free to use, modify, and distribute.
Only Auto Commit: Because sometimes, the best tool is the one that does one thing perfectly.