News for hackers. Stuff that matters.
Re:Git-blame-someone-else by brianpursley on Monday July 26, 2021 @04:32PM (#27965053)
It’s not just blame. GitHub uses commits to build the contributor list on your repo home page, so you can make it look like it has some famous contributors:

https://github.com/jayphelps/git-blame-someone-else/graphs/c...

Re:Git-blame-someone-else by nkozyra on Monday July 26, 2021 @04:48PM (#27965260)
Oh man. I was thinking they'd probably patch that but ... how could they?
Re:Git-blame-someone-else by albertgoeswoof on Monday July 26, 2021 @05:24PM (#27965694)
Only show contributions with GPG signed commits
Re:Git-blame-someone-else by hda111 on Tuesday July 27, 2021 @06:16AM (#27970702)
GPG is the solution. It’s so easy to use.
Re:Git-blame-someone-else by albertgoeswoof on Wednesday July 28, 2021 @01:49PM (#27986903)
You are both right and wrong at the same time
Re:Git-blame-someone-else by gpm on Monday July 26, 2021 @08:54PM (#27967389)
I'm actually shocked that's an issue.

I assumed they were recording actions taken via the github UI and APIs, not the git commit log. If someone merges a pull request you opened, poof, you contributed the lines merged from that pull request regardless of the git author line. Same if you run `git push` with your github login credentials.

Apart from attributing things to the wrong person, git author line seems like it must also have the issue of not attributing things at all. What if I signed up with a different email address than I use for git?

Re:Git-blame-someone-else by DoctorOW on Monday July 26, 2021 @09:12PM (#27967503)
I'm not sure how helpful it is but you can add additional email addresses to your account here: https://github.com/settings/emails
Re:Git-blame-someone-else by MeinBlutIstBlau on Monday July 26, 2021 @06:57PM (#27966523)
So gonna use this to game my gihub account honestly. At least it can make saying "I'm a team player" much easier.