合并后,发起合并请求的用户不会出现在合作者列表中 [英] User who made Pull Request doesn't appear in Contributor List after merge
问题描述
我有一个回购测试
。 GitHub告诉我用户 woo27
,他分叉了我的回购 Test
,做了一个拉动请求,这些是官方推荐的命令(见下面的截图)合并:
git checkout -b woo27-master master
git pull https ://github.com/woo27/Test.git主
GIT中结帐主
GIT中合并--no-FF woo27主
GIT中推原点主
我完成了这些命令并合并。我工作,但是 woo27
没有出现在贡献者列表中,也没有出现在修改文件的人列表中。为什么?如何解决这个问题?
b $ b'p>
I have a repo Test
. GitHub informed me that user woo27
, who forked my repo Test
, has done a pull-request, and these are the official recommended commands (see screenshot below) to merge:
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
I did exactly these commands, and merged. I works, but then woo27
doesn't appear in the contributor list, nor in the list of people who modified the files. Why? How to solve this?
(This has nothing to do with a 1-day delay, I have already had the same problem before)
The solution is to ask the person who is doing the pull request to do:
git config user.email "your_email@example.com"
with the same email as the one used for the GitHub account.
Source: https://help.github.com/articles/setting-your-email-in-git/
Then it will work.
这篇关于合并后,发起合并请求的用户不会出现在合作者列表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!