logoalt Hacker News

oasisaimlessly • yesterday at 5:48 PM • 2 replies • view on HN

Tools like git-filter-repo[1] support rewriting commit hashes in commit messages. git-filter-repo actually does it by default; see `--preserve-commit-hashes` in the manual[2].

[1]: https://github.com/newren/git-filter-repo

[2]: https://htmlpreview.github.io/?https://github.com/newren/git...


Replies

donatj • yesterday at 6:06 PM

Sure, but that's not going to rewrite Slack messages, emails, GitHub links, docs

➕ show 2 replies
okanat • yesterday at 10:50 PM

I need git-filter-repo to rewrite entire documentation and also resurrect and rehire earlier employees to repeat their GPG signatures.