Git:从其他遥控器拉 [英] Git: Pull from other remote
本文介绍了Git:从其他遥控器拉的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经从GitHub上的一个项目创建了一个fork. 现在如何从分支的项目中提取更改?
I have created a fork from a project on GitHub. How can I now pull changes from the project that I forked from?
推荐答案
git pull
实际上只是git pull <remote> <branchname>
的简写,在大多数情况下,它等效于git pull origin master
.您将需要添加另一个遥控器并从中明确地拉出.此页面对其进行了详细说明:
git pull
is really just a shorthand for git pull <remote> <branchname>
, in most cases it's equivalent to git pull origin master
. You will need to add another remote and pull explicitly from it. This page describes it in detail:
http://help.github.com/forking/
这篇关于Git:从其他遥控器拉的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文