Skip to content

Local, zero-AI Git commit message generator. Rule-based CLI that analyzes staged diffs and suggests human-friendly commit messages. Fast, offline, OSS.

License

Notifications You must be signed in to change notification settings

devolvdev/devolv-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 diffs
  • fix(core): handle edge case in parser
  • refactor(utils): clean up class detection logic

📜 License

MIT © Devolvdev

About

Local, zero-AI Git commit message generator. Rule-based CLI that analyzes staged diffs and suggests human-friendly commit messages. Fast, offline, OSS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages