thomwebb/gac
Intelligent LLM-powered git commit message generator that understands your code! Supports multiple languages!
What it solves
gac (Git Auto Commit) is a CLI tool that automates the creation of high-quality, contextual commit messages. It replaces the manual git commit -m process by using Large Language Models (LLMs) to analyze code changes and explain the "why" behind them, rather than just listing what changed.
How it works
The tool analyzes the current Git diff and code structure to understand the intent of changes. It then sends this context to a configured LLM provider to generate a commit message. Users can review, edit, or provide feedback to the reroll the message before confirming the commit.
Who it’s for
Developers who want to maintain a clean, descriptive commit history without the manual effort of writing detailed messages for every change.
Highlights
- Wide Provider Support: Supports over 35 AI providers including OpenAI, Anthropic, Gemini, DeepSeek, and local options like Ollama.
- Intelligent Analysis: Recognizes refactoring, bug fixes, and breaking changes, and can group related changes into multiple logical commits.
- Flexible Formatting: Offers one-liner, standard, and verbose formats, as well as support for the 50/72 rule and DCO sign-offs.
- Interactive Feedback: Allows users to reroll messages, edit them in-place or via an external editor, or provide direct text feedback to the LLM for refinement.
- Multilingual Support: Generates messages in over 25 languages.
- Security: Includes built-in secret detection to prevent API keys and passwords from being committed.
- Agent Integration: Provides an MCP server to expose commit tools to AI agents.
Related
- Project
- Project
- Project
- Project
- Project