首页 > 其他 > 详细

Git CMD - fetch: Download objects and refs from another repository

时间:2015-12-31 16:00:19      阅读:258      评论:0      收藏:0      [点我收藏+]

命令格式

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

 

Git CMD - fetch: Download objects and refs from another repository

原文:http://www.cnblogs.com/huey/p/5091969.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!