Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge two github accounts

Tags:

github

Is it possible to merge two GitHub accounts into one?
I had one work account but would like to merge into a personal one.

I found some details about transferring ownership of the own repos which will merge all commit history etc.
Could anyone please confirm if it will transfer all commit history for any contributions made to another third party repos?

What will happen in the third party repos where I have made contributions from work account after the work account is deleted?

like image 866
mk22 Avatar asked Sep 14 '26 13:09

mk22


1 Answers

I logged a support ticket with github and below is the summary:

After deleting work account and following steps as mentioned https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository did not bring contributions across to the personal account.

As work account was deleted - it started showing as a ghost account. The commits made through work account were as from the personal acccount but contribution history (PR or any reviews) didn't come across to the personal account.

So make sure you think of above steps before removing any of your Github account.

Below were responses from Github:

As pull requests, issues and all activity in the GitHub web UI excluding commits are directly tied to the account that created them, they will not be counted on the new account even if you add the old account's email address to the new account.

Pull requests are replaced with the ghost user when the account is deleted. On the other hand, we read the email address from the metadata stored inside a commit and attempt to match commits up with a user account, so those that meet the contribution criteria will be counted on the new account.

like image 165
mk22 Avatar answered Sep 17 '26 14:09

mk22



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!