九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 4911|回复: 1

git clone使用备注

[复制链接]
发表于 2013-2-27 13:19:12 | 显示全部楼层 |阅读模式
git clone 支持本地和远程repository,其格式如下:
克隆本地源:
  1. git clone /path/to/repo.git/
  2. git clone file:///path/to/repo.git/
  3. git clone --local file:///media/1798156b-134c-4dd3-b4a1-0d126e4b0468/project/s5pv210/android_gingerbread_v10/
复制代码
克隆远程源:
  1. git clone ssh://[user@]host.xz[:port]/path/to/repo.git/
  2. git clone git://host.xz[:port]/path/to/repo.git/
  3. git clone http[s]://host.xz[:port]/path/to/repo.git/
  4. git clone ftp[s]://host.xz[:port]/path/to/repo.git/
  5. git clone rsync://host.xz/path/to/repo.git/
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-3-29 10:30 , Processed in 0.018661 second(s), 17 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表