commit-rewriter 0.1

A small web tool from Simon Willison for cleaning up commit messages in a repo. It's built to strip out traces of coding agents and references to private issues before code goes public. Before rewriting, it creates a timestamped branch so you can roll back.

How to try it

  1. Install uv if you don't have it, then run `uvx commit-rewriter path/to/repo` (skip the path if you're already in the repo folder).
  2. Open the URL the tool prints and edit the messages you want to change.
  3. Submit the changes — the tool rewrites every commit from the first edited one to the latest, with the backup branch as a safety net.
  4. Try it on a copy of the repo first, since this rewrites history.

Price: free

Official link

More new tools