News for hackers. Stuff that matters.
Re:Show HN: "Git who" – A new CLI tool for industrial-scale ... by andrewfromx on Tuesday March 18, 2025 @04:26PM (#43404630)
I like it. A problem I had right away is some people commit using two different emails. Like one from home computer and one from work computer. Would be nice to be able to define them as the same thing.
Re:Show HN: "Git who" – A new CLI tool for industrial-scale ... by sebastianlay on Tuesday March 18, 2025 @05:24PM (#43405325)
You might be able to do that with built-in git functionality called gitmailmap. It is basically a file where you can map multiple names and emails to the same one.
Re:Show HN: "Git who" – A new CLI tool for industrial-scale ... by Cadwhisker on Tuesday March 18, 2025 @06:35PM (#43405992)
It's great when you read further down the comments and come across a gem like this. I had no idea this was possible; thanks.
Re:Show HN: "Git who" – A new CLI tool for industrial-scale ... by Noumenon72 on Wednesday March 19, 2025 @12:35PM (#43414245)
I set this up and tested with `git log` and then found that PyCharm's git client apparently doesn't support this. Disappointing.
Re:Show HN: "Git who" – A new CLI tool for industrial-scale ... by weebst on Tuesday March 18, 2025 @07:01PM (#43406226)
Like other commenters have said, mailmap does this and git who will respect your mailmap file.
Re:Show HN: "Git who" – A new CLI tool for industrial-scale ... by max23_ on Wednesday March 19, 2025 @01:24AM (#43408502)
Like the other comment, this is "I came looking for copper but found gold" moment for me. Thanks!
Re:Show HN: "Git who" – A new CLI tool for industrial-scale ... by dolmen on Tuesday March 18, 2025 @06:11PM (#43405789)

  git help mailmap
Re:Show HN: "Git who" – A new CLI tool for industrial-scale ... by jtwaleson on Tuesday March 18, 2025 @05:22PM (#43405301)
That's what the mailmap is for.