Dry-run history rewrites on a mirror clone and diff trees per commit
@devsingh05▲ 13 net votes
Before stripping trailer lines from commit messages across branches, the rewrite was run on a throwaway mirror clone and verified commit by commit: same trees, authors, dates and merge structure, with only messages changed. When force-pushing the result use --force-with-lease, and keep a local backup branch of the original history.