qommit
AI-powered git commit message generator using PydanticAI.
Installation
# Run directly with uvx (after publishing)
uvx qommit
# Or install with uv
uv tool install qommit
# For local development
uvx --from . qommit
Usage
# Commit staged changes (default command)
qommit
# Stage all changes and commit
qommit -a
# Dry run - just show the generated message
qommit -n
# Use a specific model for this run
qommit -m openai:gpt-4o
# Skip confirmation prompt
qommit -y
Configuration
Settings are stored in a cross-platform config directory:
- macOS:
~/Library/Application Support/qommit/settings.yml - Linux:
~/.config/qommit/settings.yml - Windows:
%APPDATA%\qommit\settings.yml
Model Configuration
# Set default model
qommit model set openai:gpt-4o
qommit model set anthropic:claude-3-5-sonnet-latest
qommit model set google-gla:gemini-1.5-pro
# Show current model
qommit model show
Model priority (highest to lowest):
--model/-mflagQOMMIT_MODELenvironment variable- Configured default (via
qommit model set) - Built-in default:
openai:gpt-4o-mini
System Prompt Configuration
# Edit system prompt in your default editor ($VISUAL or $EDITOR)
qommit prompt edit
# Show current system prompt
qommit prompt show
# Reset to default prompt
qommit prompt reset
View Configuration
# Show all current settings
qommit config
Supported Models
Any model supported by PydanticAI can be used:
- OpenAI:
openai:gpt-4o,openai:gpt-4o-mini,openai:gpt-4-turbo - Anthropic:
anthropic:claude-3-5-sonnet-latest,anthropic:claude-3-opus-latest - Google:
google-gla:gemini-1.5-pro - And more...
Make sure you have the appropriate API key set for your chosen model provider:
OPENAI_API_KEYANTHROPIC_API_KEYGOOGLE_API_KEY
All Commands
qommit [OPTIONS] Generate commit message (default)
-m, --model TEXT Model to use for this run
-a, --all Stage all changes first
-n, --dry-run Don't create commit
-y, --yes Skip confirmation
qommit model set NAME Set default model
qommit model show Show current model
qommit prompt edit Edit system prompt in editor
qommit prompt show Show current system prompt
qommit prompt reset Reset prompt to default
qommit config Show all configuration
qommit --version Show version
qommit --help Show help
Metadata
Release files for qommit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qommit-0.1.0.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qommit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / qommit-0.1.0.tar.gz
| Download URL | qommit-0.1.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a827aa6a39dd8d3403ea87b33d96d6ebe126495c0621e212f31de2a25bb992c3
|
|
BLAKE2b-256 checksum How to use checksums |
a6aa18b43444e135cf494f22a2419e66597b6fd6323f34510d373c62e0bf953c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / qommit-0.1.0-py3-none-any.whl
| Download URL | qommit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b583e8e0fdd9db7d7582485f906d4703c923f218c278e86f066a4f06a35a783
|
|
BLAKE2b-256 checksum How to use checksums |
20cb00adc9f20b52ef0cc610a78822277548fcd54eb8a081c45d0e1b73a64da6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|