我有一个回购协议Test
。 GitHub 通知我该用户woo27
,谁分叉了我的仓库Test
,已经做了一个pull-request,这些是官方推荐的合并命令(见下面的截图):
git checkout -b woo27-master master
git pull https://github.com/woo27/Test.git master
git checkout master
git merge --no-ff woo27-master
git push origin master
我完全执行了这些命令并合并。我工作,但后来woo27
不会出现在贡献者列表中,也不会出现在修改文件的人员列表中。为什么?怎么解决这个问题呢?
(这与延迟1天无关,我之前已经遇到过同样的问题)
解决方案是要求执行拉取请求的人执行以下操作:
git config user.email "[email protected] /cdn-cgi/l/email-protection"
使用与 GitHub 帐户相同的电子邮件地址。
Source: https://help.github.com/articles/setting-your-email-in-git/ https://help.github.com/articles/setting-your-email-in-git/
然后它就会起作用。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)