git-rewrite-commits

AI-powered git commit message rewriter using GPT

🤖 AI-Powered
🚀 One Command
🌐 Multi-language
🔒 Privacy-First
đŸ›Ąī¸ Safe by Default
✨ Auto-Redaction
Click to copy npx git-rewrite-commits

See It In Action

Terminal - git-rewrite-commits
$ npx git-rewrite-commits --help
🚀
One Command Setup
Install git hooks instantly with a single command. Get AI-powered commit messages automatically when you commit.
✨
Smart Detection
Automatically detects and skips well-formed commits. Only fixes commits that need improvement.
🎨
Custom Prompts
Override AI behavior with custom prompts. Create unique commit message styles for your team.
đŸ‘ī¸
Dry Run Mode
Preview all changes before applying. See exactly what will be modified without touching your repository.
📝
Template System
Define custom commit formats with templates. Enforce team conventions automatically.
đŸ›Ąī¸
Safe by Default
Automatically creates backup branches. Dry-run mode to preview changes before applying.
🔒
Privacy Protection
.env files completely hidden. API keys and passwords auto-redacted. Opt-in hooks for full control.
🏠
Local AI Option
Use Ollama for completely local processing. Your code never leaves your machine.