我在分支机构上完成了一些工作:WIP-my-branch
。我推高了自己的分支机构,并进行了公关(尚待批准,尚待批准)。我陷入困境,然后寻求帮助;然后,一位同事将提交提交到我的分支。我可以看到她在Githubgit pull
上的提交,但是在我的分支上执行并没有得到她的提交(分支上的最新提交)。我该怎么做?
您需要添加同事的遥控器并合并他们的更改。
git remote add coworker_remote url_to_their_repo
git remote update
git merge coworker_remote/WIP-my-branch
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句