Generate human-friendly Git commit messages from staged changes
Project description
devolv-commit
✨ 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.
🚀 Features
- 🔍 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
📦 Installation
pip install devolv-commit
💡 Usage
Generate a commit message and commit it:
git dc
📥 Manually Install Git Hook (Optional)
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.
🧪 Testing
Run tests with coverage:
pytest --cov=devolv_commit --cov-report=term-missing
✅ Conventional Commit Support
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 diffsfix(core): handle edge case in parserrefactor(utils): clean up class detection logic
📜 License
MIT © Devolvdev
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devolv_commit-0.1.1.tar.gz.
File metadata
- Download URL: devolv_commit-0.1.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1838e3ef7ee0c6d25c53add41f909c0928ccef76689448221c25723df74a6dd2
|
|
| MD5 |
7eb6c01ce90c5ea57eb7840857ad653a
|
|
| BLAKE2b-256 |
18300cccae8299089d6e34ee2dad85112905894a9ab145f88261b1f8c71287d6
|
File details
Details for the file devolv_commit-0.1.1-py3-none-any.whl.
File metadata
- Download URL: devolv_commit-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
361af47b0d7bd2ef0be3bcfa5d74d11f994bbb85264b21b96d5b7b28d8130eff
|
|
| MD5 |
d195b22aa1936deb7aa9fe7879c5cc10
|
|
| BLAKE2b-256 |
6eb7e921daf6494fbbeeb260700ded9eae4a3f51c6aab1844155965fd7b34542
|