AutoCommit is a VS Code extension that uses Gemini 2.0 Flash to analyze your git changes and generate intelligent, context-aware commit messages instantly. It streamlines your workflow by writing clear, meaningful commit messages for you.
Features
Inline Code Editor: Refactor, fix, or modify code directly in the editor with AI instructions and instant diff visualization.
Context-Aware Analysis: Reads your staged (and unstaged) git diff to understand exactly what changed.
Secure API Key Storage: Your Gemini API key is stored safely in your local configuration.
Interactive Review: Review, regenerate, or edit the message before committing (toggleable).
Multiple Personalities: Choose from various "Tones" to spice up your commit logs.
Conventional Commits: Optional support for standard conventional commit formats (e.g., feat:, fix:).
Configuration Settings
You can customize AutoCommit in VS Code Settings (Ctrl+, or Cmd+,):
Setting
Default
Description
commitMessageGenerator.apiKey
(Empty)
Your Gemini API key. You will be prompted to enter this on first use.
commitMessageGenerator.crossCheck
true
Enables the Interactive Menu (Accept / Regenerate / Copy) before finalizing the message.
commitMessageGenerator.autoFill
true
If crossCheck is disabled (or after accepting), automatically populates the Source Control input box.