commit-rewriter 0.2

Simon Willison's Weblog · 2h ago
Model Releases Open Source

How-To How to actually use this

What changed: commit-rewriter 0.2 adds a `--branch` flag to run the tool against non-default branches.

How to use it:

  1. Install or update the tool via `uvx commit-rewriter`.
  2. Identify the name of the target branch you want to rewrite.
  3. Run `uvx commit-rewriter --branch <branch-name>` to execute the rewrite on that specific branch.

Good for: developers rewriting git history on feature branches

Release: commit-rewriter 0.2 Support for branches other than the default branch. Use uvx commit-rewriter --branch other to run against another branch. #3 Tags: git

Read original article on Simon Willison's Weblog →