用svn下载github中指定目录的文件

1.先用命令看看github的分支

svn ls https://github.com/BlueRiverInteractive/robovm-ios-bindings

输出:

branches/

trunk/

然后:

svn ls https://github.com/BlueRiverInteractive/robovm-ios-bindings/trunk

发现目录下有我希望下载的目录admob

然后我就checkout指定目录的文件:

svn checkout https://github.com/BlueRiverInteractive/robovm-ios-bindings/trunk/admob

搞定!!!

经常在github要下载某个项目中的某个子项目 必须下载整个项目 

现在有了svn后 不再需要下载整个项目了。nice


原文地址:https://www.cnblogs.com/tqj-zyy/p/4559758.html