git clone会抓取所有版本,太占空间,同步起来也不方便。我只想要最新的版本了,谢谢先了~~
1
xxstop Aug 4, 2014 git clone --depth=1
|
2
standin000 OP @xxstop 谢谢,但还是带了git目录,也不小。
|
3
jsonline Aug 4, 2014
github 一个一个点击下载。
|
4
SoloCompany Aug 4, 2014 |
5
standin000 OP @SoloCompany 谢谢,但我用的是私有仓库。
|
6
standin000 OP 终于找到了, git archive master | tar -x -C /somewhere/else
http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export |