3

这似乎对我正在使用的 repo 没有任何影响,并且手册页也不是很有帮助。

4

1 回答 1

4

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将从“first-repo”git fetch --all获取,从“first-repo”和“another”获取

于 2014-02-28T00:37:27.720 回答