#397 · Primary category: AI Coding Assistants
git-rewrite-commits
AI-powered git commit message rewriter using Ollama or GPT
Project last updated:06/21/26
GitHub Stars
1.4K
Forks
59
Contributors
4
License
MIT
Why we included this project
Commit histories have a way of filling up with cryptic one-liners right before a project goes public, and this tool cleans that up by rewriting messages into conventional-commit style (feat, fix, chore) based on the actual diffs. You can point it at a local Ollama model or OpenAI's API, and it can be installed as a pre-commit hook so every new commit gets a properly written message automatically. What stands out is the privacy side: with a local model, diffs and file lists never leave your machine, and anything sent to a remote provider has API keys and passwords redacted first. It also skips messages that are already well formed, supports custom templates, and creates a backup branch before it touches history. That last part matters because rewriting history changes commit hashes, so the tool's own warning about not using it on shared branches is worth reading before you let it loose.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
superpowers
An agentic skills framework & software development methodology that works.
ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
skills
Skills for Real Engineers. Straight from my .agents directory.
opencode
The open source coding agent.
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.