简体   繁体   中英

Merging two github accounts

Let's say I am having two github accounts xyz (Mail Id - xyz@xyz.com ) and abc ( abc@abc.com ). xyz account I use for doing all my work related commits. xyz@xyz.com is the mail account of the organization for which I work for. I use abc account for all my other personal work.

I am finding it little annoying to maintain both the accounts. Is there a way I can merge both the accounts and have one github account abc . All the commits that I do in my organization's private repo, the communication regarding that should come to my xyz email id. But all public work that I do in github the communication for that should come to my abc email id.

Github also suggests to maintain only account as mentioned in this link.

Can you please let me know if it is possible to do that?

You can transfer ownership of all your repositories from each of their settings tab. It requires you to type the full name of the repo, the username transferring to, and then the user has to accept the transfer. Once you have transferred everything, as a bonus, Github will continue to even redirect the old repository url's to the new repo. Then you can either close the old account or simply stop using it.

The reply I got from github support:-

Thanks for getting in touch!

You can certainly merge the two accounts, and the article that you mentioned contains instructions on what to do:

https://help.github.com/articles/merging-multiple-user-accounts/

" Is there a way I can merge both the accounts and have one github account xyz . All the commits that I do in my organization's private repo, the communication regarding that should come to my xyz@xyz.com email id. But all public work that I do in github the communication for that should come to my abc@abc.com email id. "

I'm sorry but this won't be possible. There's no way to specify that notifications for certain actions be sent to one email address, while others are sent to a different address.

Please let us know if you have any other questions!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM