已是团队成员时正在重命名Github帐户名



我有两个帐户:account_1和account_2,分别有两封不同的电子邮件mail_1和mail_2(这两个帐户都有备份,不担心工作损失(。我是拥有account_1和mail_1的Team_X的一员,但我被告知要成为拥有account_2&mail_2.

将account_1重命名为account_old并将account_2重命名为account_1是否满足要求?或者,我还需要将我的主邮件地址从mail_1更改为mail_2吗?

或者,您还可以执行其他步骤吗?

最好的方法是让团队经理或相关人员从Team_X中删除您的旧帐户并添加新帐户。这将影响您的工作和提交历史记录,新提交将显示您的新用户id。

另一个更好的方法是从account1中删除mail1,从account2中删除mail2,然后将mail2附加到account1。现在,您可以将用户名从account_1更改为account_2。

做这些事会引起反响。

Like After changing your username, your old username becomes available
for anyone else to claim. If the new owner of your old username creates a repository 
with the same name as your repository, that will override the redirect
entry and your redirect will stop working.

所以要采取预防措施。

最新更新