Post #2704249
2025-10-30 04:16 UTC
Replies (3)
-
@tongpu@hachyderm.io 2025-10-30 05:57
@nerdnz@cloudisland.nz I did a history rewrite using .mailmap when I supported a company to open source an application, because the commits on Bitbucket contained user IDs. 😬 But what I didn't know is that it also changes the output of git, thanks for highlighting that.
-
@schrumpelnase@sueden.social 2025-10-30 06:39
@nerdnz@cloudisland.nz If rewriting history is an option, I can recommend git-filter-repo: https://github.com/newren/git-filter-repo
-
@forthy42@mastodon.net2o.de 2025-10-30 10:12
@nerdnz@cloudisland.nz The .mailmap solution is only visible for you, the git filter-branch solution is visible for everyone. And it is necessary far more often then when you change your name, because far more people change their e-mail address. https://www.reddit.com/r/github/comments/12931oe/change_emailname_on_existing_commits/