合并两个github帐户 [英] Merging two github accounts
问题描述
假设我有两个github帐户xyz
(邮件ID-xyz@xyz.com
)和abc
(abc@abc.com
).我用来进行所有与工作相关的提交的xyz
帐户. xyz@xyz.com
是我为其工作的组织的邮件帐户.我将abc
帐户用于其他所有个人工作.
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.
同时维护两个帐户我感到很烦.有没有一种方法可以合并两个帐户并拥有一个github帐户abc
.我在组织的私人存储库中所做的所有提交,有关该信息的交流应出现在我的xyz
电子邮件ID中.但是我在github上进行的所有与该交流有关的公共工作都应该到我的abc
电子邮件ID中.
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还建议仅维护帐户,如此中所述链接.
Github also suggests to maintain only account as mentioned in this link.
请问是否可以这样做?
推荐答案
您可以从每个存储库的设置"标签中转移所有存储库的所有权.它要求您键入存储库的全名,将用户名传输到,然后用户必须接受传输.一旦您转移了所有内容(作为奖励),Github将继续将旧的存储库URL重定向到新的存储库.然后,您可以关闭旧帐户,也可以停止使用它.
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.
这篇关于合并两个github帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!