合并两个github帐户 [英] Merging two github accounts

查看:100
本文介绍了合并两个github帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我有两个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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆