I (user A) have a commit in one of my public repos which has code that was donated to me by another user (user B), so I committed it via --author. So the commit has committer A, an author that has an email owned by user B, and occurred in a repo owned by user A (me). We both are registered on GitHub.
Turns out however, the email that ended up in the commit that wasn’t the exact one user B uses as main email on GitHub but another one. So therefore, the commit is shown to be made by someone “unknown” and not actually linked to user B on GitHub. This is what I am looking to fix.
Now there is the “Claim email address” button showing up when I (user A) look at that commit, but obviously I didn’t author it but just commit it - that other user (user B) did. So it makes no sense that I would claim the other user’s address, obviously. However, user B does not see the “Claim email address” button, hence cannot claim it. Is this because the commit is in my repo, and somehow linked to commit rights, …?
So what is the button/API/… such that I can either link up the commit to that user B myself, or such that I can enable that user B to press the button on the commit in my repo (user A’s repo) to claim it themselves?