Elektrine lite

← Feed

@nerdnz@cloudisland.nz

Post #2704249

2025-10-30 04:16 UTC

There are other ways to fix old names against old commits, but they involve recreating the entire git history since then. That's not always feasible

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.

    Open ##2704250

  • @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

    Open ##2704252

  • @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/

    Open ##2704254