2014-02-28 152 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將從「第一回購」獲取和「另一個」