Let's say I am having two github accounts xyz
(Mail Id - [email protected]
) and abc
([email protected]
). xyz
account I use for doing all my work related commits. [email protected]
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?
If you have separate accounts for work and personal use, you can merge the accounts. Tip: We recommend using only one personal account to manage both personal and professional repositories. Warning: Organization and repository access permissions aren't transferable between accounts.
You're only allowed to have 1 account if you aren't a paying user.
It's not necessary. If you really want to separate repositories you can just create an organization. Then when you make repositories you can decide if you want to make them for your organization or for your personal account. Why go through the hassle of creating two GitHub accounts, it's to much.
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[email protected]
email id. But all public work that I do in github the communication for that should come to my[email protected]
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With