如何在github提交中设置用户名别名? [英] How can I set a username alias in github commits?

查看:311
本文介绍了如何在github提交中设置用户名别名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在大学完成了一个学期,并决定将我的所有项目从bitbucket(对于我的课程是必需的)导入到github(我的所有其他项目都在其中).我成功导入了它们.不幸的是,当我从事这些项目时,我在三台不同的计算机之间切换.

I just finished a semester at college and decided to import all of my projects from bitbucket (required for my classes) to github (where all of my other projects are). I successfully imported them. Unfortunately, at the time when I was working on these projects, I was switching between three different computers.

因此,提交历史记录中有许多我自己所做的提交的不同名称.我想在位桶中设置一个别名",说这三个人也是我".这可能吗?我该怎么办?

As a result, the commit history has lots of different names for commits that I did myself. I'd like to set an "alias" like you can in bitbucket, saying "these three people are also me." Is this possible? How can I do that?

推荐答案

导航到设置"->电子邮件"(或直接导航到 https://github.com/settings/emails ),然后只需添加您在未分配"提交中使用的电子邮件即可.

Navigate to Setting->Emails (or directly to https://github.com/settings/emails), and just add the emails you used on your "unattributed" commits.

这篇关于如何在github提交中设置用户名别名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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