AIGit Commit
AIGit Commit is a VS Code extension that uses OpenAI to automatically generate meaningful Git commit messages based on your code changes.
Features
- 🤖 AI-Powered: Leverages OpenAI to analyze your code changes
- ✨ Smart Detection: Automatically detects staged changes in your Git repository
- 📝 Customizable: Supports custom prompts and message formats
- 🚀 Easy to Use: Simple one-click commit message generation
Screenshots
Configure AIGit Commit settings
Generate AI-powered commit messages with one click
Installation
- Open VS Code
- Press
Ctrl+P to open the Quick Open dialog
- Type
ext install hhyyy9.aigit-commit
- Press Enter to install
Usage
- Stage your changes using Git
- Open VSCode Settings
- Search for "AIGit Commit"
- Set your OpenAI/Claude/DeepSeek API key
- Set the preferred language for commit messages
- Select the AI service provider to use (OpenAI, Claude, DeepSeek)
- Press the button 'AI Git' in the left status bar
- The extension will analyze your changes and generate a commit message
Requirements
- VS Code 1.85.0 or higher
- Git installed and configured in your workspace
- OpenAI/Claude/DeepSeek API key (required for message generation)
Extension Settings
This extension contributes the following settings:
aigit.openaiApiKey : Your OpenAI API key
aigit.claudeApiKey : Your Claude API key
aigit.deepseekApiKey : Your DeepSeek API key
aigit.language : Preferred language for commit messages
aigit.aiProvider : AI service provider to use (OpenAI, Claude, DeepSeek)
aigit.openaiModel : OpenAI model to use (gpt-3.5-turbo, gpt-4)
aigit.claudeModel : Claude model to use (claude-3.5-sonnet, claude-3)
aigit.deepseekModel : DeepSeek model to use (deepseek-1.0, deepseek-2.0)
Known Issues
Please report issues on our GitHub repository.
Release Notes
0.0.5
Support DeepSeek R1 model
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is under a dual license - see the LICENSE.md file for details.
- Free for personal use under MIT license
- Commercial use requires a separate license
- Author: Jacky Huang
- Email: yu2@me.com
- GitHub: hhyyy9
| |