VSCode Commit Assistant Extension (git-ai-commits)
🚀 Download Now: git-ai-commits on Visual Studio Marketplace
The git-ai-commits extension for VSCode enables efficient commit management and a smoother workflow. With multilingual support, code obfuscation options, and integration with various assistants like Copilot and Gemini, this extension is designed to enhance your productivity and privacy.
Features
1. Access Suggested Commits
- Easily access a list of 5 suggested commits based on the current state of your staged code.
- Suggested commits are automatically generated, saving you the hassle of manually writing commit messages.
2. AI Assistant Switching
- Switch between AI models:
- Copilot + GPT-4O-Mini
- Copilot + GPT-4O
- Gemini
- Customize the assistant you want to interact with for commit suggestions.
3. Code Obfuscation
- Set the level of code obfuscation. The higher the obfuscation level (Low, Medium, High), the fewer details are shared with the assistant.
- Higher obfuscation levels ensure that the assistant focuses only on the code's functionality, without revealing sensitive details.
4. Customizable Obfuscation Word List
- Define a custom list of keywords to obfuscate for increased privacy and security.
5. Multilingual Commit Messages
- Automatically generate commit messages in the following languages:
- Arabic
- Chinese
- English
- French
- German
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish
6. Auto Commit
- Auto-commit option: If enabled, selecting a commit will automatically commit it.
- If auto-commit is disabled, the selected commit message will be copied to the clipboard for manual use.
7. English & Spanish User Interface
- The extension’s UI adapts to the language of your Visual Studio Code.
- Supported languages: English and Spanish.
Installation
- Open Visual Studio Code.
- Go to the Extensions section (or use the shortcut
Ctrl+Shift+X
). - Search for git-ai-commits.
- Click Install.
Usage
Once the extension is installed, follow these steps to get started:
- Open your project in VSCode.
- Open the command palette (
Ctrl+Shift+P
). - Type Commit Assistant to access available options.
From there, you can:
- View suggested commits.
- Switch between AI assistants (Copilot, GPT-4O, Gemini).
- Configure obfuscation levels and custom word lists.
- Set the commit message language.
- Enable or disable the auto-commit option.
AI Assistant Comparison
AI Assistant | Speed |
---|---|
Copilot + GPT-4O-Mini | Fastest |
Gemini | Fast |
Copilot + GPT-4O | Slow |
Contributions
If you’d like to contribute to this extension, you’re welcome! Feel free to open an issue or submit a pull request with your changes.