Git CMD

命令格式

git fetch [<options>] [<repository> [<refspec>…​]]

git fetch [<options>] <group>

git fetch --multiple [<options>] [(<repository> | <group>)…​]

git fetch --all [<options>]

命令参数

--dry-run
  不执行任何操作,只显示将会发生什么。

-v, --verbose
  详情模式。

实例

a) 下载远程仓库的所有分支到本地,但不与本地仓库合并。

$ git fetch origin

更多

http://git-scm.com/docs/git-fetch

原文地址:https://www.cnblogs.com/huey/p/5091969.html