Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

A project I used to work on has recently moved from using self-hosted Subversion to GitHub-hosted git for its source control solution. My name appears in the commits, but I can see no way of claiming these as being "mine" from my github account.

I know there must be some way of doing this, as other contributors have their contributions linked to a github account, even before the move was made to using github.

Can anyone tell me how I can claim these changes as being mine?

share|improve this question
    
Maybe you need to add a .mailmap file. I'm not sure if GitHub respects them, though. –  asmeurer Apr 12 '13 at 22:19
    
Ah, it looks like it doesn't. –  asmeurer Apr 12 '13 at 22:22
add comment

1 Answer

GitHub user account matching for commits is done via the email address associated with the git commit on one side (i.e. your user.email setting) and those associated with the GitHub account on the other (see “My commits aren’t linked to my user, to the wrong user, or don’t have a Gravatar” in the “Common issues and questions” part of the GitHub FAQ). To match your commits to your account, just add their associated email address(es) to your GitHub account.

share|improve this answer
1  
Will github apply those to the contributions graph retroactively? Doesn't seem to do so. –  Matt M. Jan 16 '13 at 2:55
    
@MattM. I’m not sure about that. If it doesn’t, that would seem a bug in GitHub’s handling of the graph to me. Report to them maybe? –  kopischke Jan 16 '13 at 9:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.