2014-02-28 112 views

回答

3

git fetch --all如果您有多个遥控器,会有所不同。大多数时候你只有“起源”,但你可以添加任意数量的遥控器。

git clone ssh://example.com/git/repo/first-repo 
git remote add my-other-remote ssh://example.com/git/repo/another 

git fetch将从“第一回购”,其中git fetch --all将从“第一回购”获取和“另一个”