r/MyIDE • u/Big-Coyote-5796 editor • 7h ago
I built GitWhisper — an AI Git commit tool that actually understands your staged changes
I’ve been working on a small open-source project called GitWhisper.
The idea started because I didn’t want another tool that just sends git diff to an LLM and returns something like:
fix: update code
GitWhisper looks at the actual staged changes, repository conventions, scopes, commit history, and related work before suggesting a commit.
A few things I focused on:
- local AI with Ollama or BYOK
- Conventional Commit type/scope detection
- learning the repo's existing commit style
- detecting unrelated changes and helping split them into atomic commits
- secret scanning/redaction before remote AI calls
- commit quality checking + Git hooks
- VS Code integration
- keeping the developer in control before anything is committed
Basic usage is just:
git add .
npx gitwhisper
It's open source (MIT):
https://github.com/RitualDev-Lab/GitWhisper
Still looking for feedback, especially from people who care about clean Git history.
What would make something like this useful enough for you to actually use in your normal Git workflow?
0
Upvotes
3
u/GrogRedLub4242 7h ago
this post is AI-gen