Package Exports
- git-commit-assistant
- git-commit-assistant/bin/git-commit-assistant
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (git-commit-assistant) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Git Commit Assistant
AI-powered Git commit assistant that helps you write better commit messages using Google's Gemini AI.
Features
- 🤖 AI-powered commit message suggestions
- 📝 Conventional commits format with emojis
- 🔍 Smart analysis of your changes
- 🎨 Beautiful CLI interface
- 🔒 Protected branch validation
- 🚀 Optional automatic push
Python Environment Setup
Create a virtual environment
python3 -m venv venvActivate the environment
For Unix/macOS:
source venv/bin/activateFor Windows:
.\venv\Scripts\activateInstallation
Via NPM (Recommended)
npm install -g git-commit-assistantVia Python (Alternative)
pip3 install git-commit-assistantSetup
- Get your Gemini API key from Google AI Studio
- Set your API key:
export GEMINI_API_KEY='your-api-key'Usage
Instead of git commit, use:
git-commit-assistantWith options:
git-commit-assistant -a # Stage all changes
git-commit-assistant -p # Push after commit
git-commit-assistant -f # Skip confirmationsRequirements
- Python 3.6+
- Node.js 14+ (for NPM installation)
- Git
License
MIT
Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.