commit-rewriter 0.1

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

A usable open-source tool now exists for scrubbing coding-agent artifacts and private references out of git commit histories before publishing a repository.

Read this as

Simon Willison released commit-rewriter 0.1, a small web app for editing the messages attached to past commits in a git repository. He built it to clean up the Datasette security release history, whose commits contained agent-generated clutter and references to private issue IDs. Run it with 'uvx commit-rewriter path/to/repo'; edits rewrite every commit from the first edited one onward, after creating a timestamped backup branch.

Simon Willison released commit-rewriter 0.1, a free open-source tool born from a real problem: publishing a repository whose history contained coding-agent cruft and references to a private issue tracker. Teams releasing code written with AI assistants gain a practical cleanup step. The tool is downloadable today via uvx; no pricing or support commitments are mentioned.

commit-rewriter 0.1 is a Python web app run via 'uvx commit-rewriter path/to/repo' (path optional in the repo directory). The UI lists commits with hash, author, timestamp and editable message fields, plus search by message, author or hash and an 'Edited only' filter. On submission it creates a timestamped branch of the current state for revert safety, then rewrites all commits from the first edited commit through HEAD.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

commit-rewriter Datasette uvx git

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading