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
Rewrite History
Install Hooks
Generate Message
Custom Template
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.