Gicode - AI Commit Message Generator
Generate Git commit messages automatically using AI (Gemini) based on your code changes.
Features
- Automatically analyzes staged Git changes
- Generates clear, conventional commit messages
- Supports common commit types: FEAT, FIX, DOCS, STYLE, REFACTOR, etc.
- Allows message editing before committing
- Commits changes with a single command
Installation
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Gicode"
- Click Install
Usage
- Stage your changes in Git (
git add )
- Open the Command Palette (Ctrl+Shift+P)
- Search for and run "Gicode: Suggest Commit"
- Review and edit the suggested commit message
- Press Enter to commit
Configuration
Add your Gemini API key to VS Code settings:
- Open Settings (Ctrl+,)
- Search for "Gicode"
- Add your API key in the "Gicode: Api Key" field
Requirements
- Git must be installed and configured in your system
- VS Code must have a workspace folder opened
- You need a valid Gemini API key
Known Issues
- Large diffs may cause timeouts with the AI API
- Complex changes might generate less accurate messages
Contributing
Pull requests are welcome! For major changes, please open an issue first.
License
MIT
| |