GitHub在提交中显示名称而不是链接的用户名 [英] Github shows name instead of a linked username in commits

查看:694
本文介绍了GitHub在提交中显示名称而不是链接的用户名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚帮助一位朋友建立了一个Github账户来协作我的项目。他的提交已经完成,但由于某种原因,在我的资源库的源代码页面上,他的提交旁边只有他的名字,而不是他的用户名(带有链接)。

看起来很奇怪,因为Github明显地认出了他(我把他加入了合作者名单等等。)

看起来像一个愚蠢的问题,但谷歌无法帮助。 / p>

谢谢!

解决方案

您的朋友是否有电子邮件地址他正在使用他的提交在GitHub中正确设置别名?否则,GitHub如何知道他是谁?Git本身只记录全名和电子邮件地址,显然不是GitHub用户名,因为您可以使用在没有GitHub的情况下,Git会很好。


I just helped a friend to set up a Github account to collaborate on my project. His commits come through, but for some reason on the "Source" page of my repository next to his commit is only his name and not his username (with a link).

It seems strange, since Github obviously recognizes him (I added him to the list of collaborators etc.

Seems like a stupid question, but Google couldn't help.

Thanks!

解决方案

Does your friend have the e-mail address he is using for his commits correctly set up as an alias in GitHub? Otherwise, how is GitHub to know who he is? Git itself only records the full name and the e-mail address and obviously not the GitHub username, since you can use Git perfectly fine without GitHub.

这篇关于GitHub在提交中显示名称而不是链接的用户名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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