Skip to content

Releases: semperai/git-commitai

v0.1.0

17 Aug 03:55
d72b99a

Choose a tag to compare

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 | bash

Setup

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 commitai

What's included

  • Core functionality works with most git commit flags
  • Supports OpenRouter, OpenAI, Anthropic, Ollama
  • Reads .gitmessage templates
  • Custom prompts via .gitcommitai
  • Manual

Supported flags

Working: -a, --amend, -v, -n, --allow-empty, --dry-run, --author, --date

See README for everything else.