git 下载部分目录

需求

github上整个工厂比较大,下起来费劲,如何只下载一个单独的文件件呢?

方法一

以:https://github.com/eugenp/tutorials为例,下载其中的 spring-kafka, 进入目录齐地址为:

https://github.com/eugenp/tutorials/tree/master/spring-kafka

 

转换: 把tree/master 修改为 trunk转化为svn地址,即

https://github.com/eugenp/tutorials/trunk/spring-kafka

下载:svn 下载

svn checkout  https://github.com/eugenp/tutorials/trunk/spring-kafka

方法二

DownGit

 

 

posted @ 2019-03-09 18:10  jihite  阅读(780)  评论(0编辑  收藏  举报