2
这似乎与我正在使用的回购没有什么区别,而手册页并不是很有帮助。'git fetch'和'git fetch --all'有什么区别
这似乎与我正在使用的回购没有什么区别,而手册页并不是很有帮助。'git fetch'和'git fetch --all'有什么区别
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
将从“第一回购”获取和“另一个”