✨ Auto-generate meaningful, smart Git commit messages based on staged code changes.
No more git commit -m "fix stuff"
— just run git dc
, and you're done.
- 🔍 Analyzes staged diffs to understand your code changes
- 🧠 Generates human-like commit messages
- 🪝 Optional Git hook to auto-fill commit messages
- ✅ Clean, professional output — no templates or fluff
- ♻️ Follows Conventional Commits v1.0.0 for standardization
- ⚡️ Blazing fast — not AI-powered, but built with a lean homegrown engine
- 🧪 Test suite with coverage
pip install devolv-commit
Generate a commit message and commit it:
git dc
Automatically generate a commit message when you run git commit
:
git dc install-hook
This installs a prepare-commit-msg
hook that fills in the message field.
You can edit it before committing.
Run tests with coverage:
pytest --cov=devolv_commit --cov-report=term-missing
We follow the Conventional Commits v1.0.0 standard to enhance changelogs, release notes, and CI workflows.
Example commit messages:
feat: add support for multi-file diffs
fix(core): handle edge case in parser
refactor(utils): clean up class detection logic
MIT © Devolvdev