Releases: semperai/git-commitai
Releases · semperai/git-commitai
v0.1.0
v0.1.0
First release. It works.
What it does
Generates git commit messages using AI by analyzing your staged changes. Drop-in replacement for git commit.
Install
curl -sSL https://raw.githubusercontent.com/semperai/git-commitai/master/install.sh | bashSetup
export GIT_COMMIT_AI_KEY="your-api-key"
export GIT_COMMIT_AI_URL="https://openrouter.ai/api/v1/chat/completions"
export GIT_COMMIT_AI_MODEL="qwen/qwen3-coder"Or use local LLMs:
export GIT_COMMIT_AI_URL="http://localhost:11434/v1/chat/completions"
export GIT_COMMIT_AI_MODEL="qwen2.5-coder:7b"Usage
git add .
git commitaiWhat's included
- Core functionality works with most
git commitflags - Supports OpenRouter, OpenAI, Anthropic, Ollama
- Reads
.gitmessagetemplates - Custom prompts via
.gitcommitai - Manual
Supported flags
Working: -a, --amend, -v, -n, --allow-empty, --dry-run, --author, --date
See README for everything else.