Overview Version History Q & A Rating & Review
Git AI Auto Committer
AI-powered automatic commit message generation and committing
Git AI Auto Committer is a VS Code extension that automatically generates meaningful commit messages using either Google's Gemini AI or GitHub Copilot. It helps developers maintain a clean and descriptive git history without the hassle of writing commit messages manually.
Developed by DraconDev
Features
Automatically generates commit messages based on your code changes
Multiple AI providers:
Google's Gemini AI for intelligent message generation
GitHub Copilot integration for commit messages
Smart source control integration:
Uses existing message from the source control input box if available
Falls back to AI generation if no message is provided
Configurable auto-commit intervals
Manual commit generation option
Inactivity-based commit triggers
Version bumping with patch/minor increments
Enable/disable version bumping functionality
Requirements
VS Code 1.96.0 or higher
Node.js 20.x or higher
A Google Gemini API key (get it from Google AI Studio ) if using Gemini
GitHub Copilot extension installed and authenticated if using Copilot
Git repository with initialized git config
Extension Settings
This extension contributes the following settings:
gitAiCommitter.enabled
: Enable/disable automatic commits (default: true)
gitAiCommitter.preferredAIProvider
: Choose between "gemini" or "copilot" for commit message generation (default: "gemini")
gitAiCommitter.geminiApiKey
: Your Google Gemini API key for generating commit messages
gitAiCommitter.commitInterval
: Interval in minutes between automatic commits (0 to disable, default: 2)
gitAiCommitter.inactivityTimeout
: Trigger commit after this many seconds of inactivity (0 to disable, default: 5)
gitAiCommitter.minCommitDelay
: Minimum delay in seconds between commits (default: 10)
How to Use
Install the extension
Choose your preferred AI provider in settings:
For Gemini: Get your API key from Google AI Studio
For Copilot: Ensure you have GitHub Copilot installed and authenticated
Enable auto-commit using the command palette or settings
Start coding! The extension will:
Check for messages in the source control input box
Generate commit messages using your chosen AI provider if no message exists
Commit changes after 5 seconds of inactivity
Ensure at least 10 seconds between commits
Commit every 2 minutes during active work
Manual Message Entry
You can provide your own commit message at any time:
Type your message in the source control input box
The extension will use your message for the next commit
The input box will be cleared after the commit
Commands
Available commands can be accessed through the Command Palette (Ctrl+Shift+P):
AI Auto Committer Enable Auto Commit
: Enables automatic commit generation
AI Auto Committer Disable Auto Commit
: Disables automatic commit generation
AI Auto Committer Commit Now
: Manually triggers commit message generation and commits changes
AI Auto Committer Set Gemini API Key
: Set your Gemini API key
AI Auto Committer Set AI Provider
: Switch between Gemini and Copilot
AI Auto Committer Set Commit Interval
: Configure automatic commit interval
AI Auto Committer Set Inactivity Delay
: Configure inactivity delay before commit
AI Auto Committer Enable Version Bumping
: Enables automatic version bumping on commits
AI Auto Committer Disable Version Bumping
: Disables automatic version bumping on commits