commit-rewriter 0.1
- ID
- 24096
- Status
- summarized
- Published
- 14 Sep 2026, 8:28 AM
- Fetched
- 14 Sep 2026, 11:24 PM
- Provider
- Simon Willison
- Category
- developer-ai
- Original URL
- https://simonwillison.net/2026/Sep/14/commit-rewriter/
- Source URL
- https://simonwillison.net/atom/everything/
Summary
- Score
- 5.0
- Created
- 14 Sep 2026, 11:25 PM
- Tags
- Audience
- developersvibe_coders
What happened
Simon Willison released commit-rewriter 0.1, a Python web app that lets you rewrite git commit messages across a repository. It was vibe-coded to clean up commit messages containing coding-agent cruft and private issue references before publishing security releases. Run via `uvx commit-rewriter path/to/repo`; it creates a timestamped branch for reversion before rewriting every commit from the first edited to the most recent.
Why it matters
If you ship code with AI coding agents, your commit history likely contains agent artifacts and private references you don't want public. This tool gives you a quick, reversible way to clean those messages before pushing or publishing releases.
Discussion angle
How do you handle messy AI-agent commit messages in shared or public repos—rewrite history, squash, or just live with the cruft?