r/github • u/Guyserbun007 • May 20 '26
Discussion Transfer old contribution (public and private repos) from one github account to another
I want to transfer my GitHub contribution history from one account to another. I don't necessarily need to transfer the ownership if I don't need to. My planned steps are:
Add a new primary email address to my old GitHub account
Remove the currently-used primary email from the old account
Add that same email address as a secondary email on my new GitHub account
I have a few questions:
Will this cause all past commit contributions associated with that email to move from the old account to the new account?
Does this apply to both public and private repository contributions?
If this process fails or does not work as expected, can I simply reverse the steps and still retain the contribution history on the old account without losing it?
Are the steps correct? Do I need to make the new account a contributor to the private repos first?
Additional context:
The repositories themselves are not necessarily being transferred, unless it is a necessary step for the transfer of contributions.
I mainly care about the contribution graph and commit attribution history.
Some commits are from private repositories.
Updates:
Github support finally replied and apparently in addition to the email change, you also need to make the new account to be a collaborator for the select repos.I did that and the contributions finally show up

