Automatically generate Git commit messages for your repositories using Ollama, a local large language model (LLM).
Features
Generates concise and informative commit messages based on your staged changes
Uses Ollama with the Mistral model for local, private AI processing
Works seamlessly with VS Code's Git integration
Automatically configures Git hooks when you open a repository
Zero manual setup required - just install and use
Requirements
VS Code 1.75.0 or higher
Git installed and available in your PATH
Windows or macOS
Usage
Open a Git repository in VS Code
The extension automatically sets up commit message automation for you
Stage your changes using VS Code's source control panel or git add commands
Commit your changes using VS Code's commit dialog
The commit message will be automatically generated based on your staged changes
Review the generated message and complete your commit by closing the newly opened window
Troubleshooting
Common Issues
No commit message generated: Ensure Ollama is installed and running
"Git CLI not found" error: Make sure Git is installed and in your PATH
Permission issues: On macOS, ensure the hook script has execution permissions
Logs
To see detailed logs, check the VS Code Output panel (View → Output) and select "Git Commit Message Automation" from the dropdown.
Privacy
This extension uses a local LLM (Ollama) to generate commit messages. Your code never leaves your machine, ensuring your code remains private and secure. No internet connection is needed after the initial model download.