72
Git Commit Analyzer is a powerful Git plugin that leverages AI to automatically generate meaningful commit messages based on your staged changes. It uses Ollama to analyze git diffs and propose commit messages following the Git Flow format.
Automatic generation of Git Flow compliant commit messages
Powered by Ollama for local AI processing
Interactive mode allowing users to use, edit, or cancel the proposed commit message
Cross-platform compatibility (Linux, macOS, Windows)
Customizable with your personal Git signature
Support for model selection and persistence
Homebrew (macOS and Linux)
The easiest way to install Git Commit Analyzer is via Homebrew:
brew tap zh30/tap
brew install git-ca
After installation, you can immediately use the git ca command.
After installation, you can use Git Commit Analyzer in any Git repository:
Stage your changes in your Git repository (using the git add command).
Run the following command:
git ca
If it's your first time running the command, you'll be prompted to select a model from your installed Ollama models.
The program will analyze your staged changes and generate a suggested commit message.
You can choose to use the suggested message, edit it, or cancel the commit.
To change the default model at any time, run:
git ca model
Built with