九鼎创展论坛

标题: git clone使用备注 [打印本页]

作者: jjj    时间: 2013-2-27 13:19
标题: git clone使用备注
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/
复制代码





欢迎光临 九鼎创展论坛 (http://bbs.9tripod.com/) Powered by Discuz! X3.2