How can I set a username alias in github commits?

限于喜欢 提交于 2019-12-12 19:20:59

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/47948001/how-can-i-set-a-username-alias-in-github-commits

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!