f/git-rewrite-commits
AI-powered git commit message rewriter using Ollama or GPT observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 88
- Release rhythm 35
- Longevity 21
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 297
- days_rel: n/a
- days_push: 73
- n_releases_24m: 0
Adoption not part of the score
1419 stars · 59 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript CLI tool that uses AI (OpenAI GPT or local Ollama models) to rewrite git commit history with better, conventional commit messages. It supports git hooks integration, dry-run previews, automatic backups, and privacy features like secret redaction and fully local processing.
Use cases
- clean up messy commit history before open-sourcing a repo
- rewrite git commit messages with AI
- generate conventional commit messages automatically
- fix commit messages locally using Ollama without sending code to the cloud
- install a git hook that auto-generates commit messages
- preview history rewrites with a dry run before applying
When to choose
- you need to polish a personal project's history before making it public
- you want conventional-commit formatting across an entire branch's history
- you prefer local AI processing via Ollama for privacy-sensitive repos
- you want backups and dry-run safety when rewriting history
When to avoid
- on shared branches or after others have pulled commits, since rewriting changes hashes and requires force-push
- on team main/master branches without coordination
- in repositories where commit hashes are referenced elsewhere
- you only want to stage or lint new commits rather than rewrite history
Facets
cli-tool · maturity active
cli developer-tools version-control llm-inference workflow-automation developer-tools version-control large-language-models cli cross-platform git conventional-commits ollama openai git-hooks history-rewrite commit-messages npx command-line nodejs
3 sources
- readme: https://github.com/f/git-rewrite-commits · fetched 2026-08-28 · 2cc4f1757a78
- homepage: https://blog.fka.dev/git-rewrite-commits/ · fetched 2026-08-29 · d1c1cfd6cb8d
- registry_npm: https://registry.npmjs.org/git-rewrite-commits · fetched 2026-08-29 · 47cad6913d13
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| f/git-rewrite-commits | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="f/git-rewrite-commits")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem