This extension for Gemini CLI automates the generation of Git commit messages. By analyzing the changes in your staging area, it creates a professional title and a descriptive body to keep your project history clear and concise.
- Conventional Commits: Automatically generates messages following the industry-standard Conventional Commits specification.
- Safety First (No Backticks): Guarantees output without backticks (`), preventing the Gemini CLI from incorrectly identifying messages as bash commands.
- Context Awareness: Automatically activates when you ask to "commit this," "write a commit message," or similar requests.
- Automated Analysis: Inspects your Git staging area to understand code changes and provide meaningful context.
- Seamless Integration: Adds both an Agent Skill and a custom command directly into your Gemini CLI workflow.
To install the extension, run the following command:
gemini extension install https://github.com/samucodesh/geminicli-gitcommitOnce installed, you can trigger the extension within Gemini CLI using the custom command:
/git:commitNote
You must have changes staged in Git (git add) for the extension to analyze them.
To remove the extension from your system, use the following command:
gemini extension uninstall https://github.com/samucodesh/geminicli-gitcommit- Troubleshooting: If you encounter issues with the Gemini CLI, visit the Troubleshooting Guide.
- FAQ: Check the Gemini CLI FAQ for common questions.
This project is licensed under the Apache License 2.0. For more details, see the LICENSE file.