九鼎创展论坛
标题:
git clone使用备注
[打印本页]
作者:
jjj
时间:
2013-2-27 13:19
标题:
git clone使用备注
git clone 支持本地和远程repository,其格式如下:
克隆本地源:
git clone /path/to/repo.git/
git clone file:///path/to/repo.git/
git clone --local file:///media/1798156b-134c-4dd3-b4a1-0d126e4b0468/project/s5pv210/android_gingerbread_v10/
复制代码
克隆远程源:
git clone ssh://[user@]host.xz[:port]/path/to/repo.git/
git clone git://host.xz[:port]/path/to/repo.git/
git clone http[s]://host.xz[:port]/path/to/repo.git/
git clone ftp[s]://host.xz[:port]/path/to/repo.git/
git clone rsync://host.xz/path/to/repo.git/
复制代码
欢迎光临 九鼎创展论坛 (http://bbs.9tripod.com/)
Powered by Discuz! X3.2