有些时候,你可能想要一个 repo 里面的一个文件夹,那么怎么办呢?

这里就要请出另外一个 cvs 了,Subversion!

首先先安装.

apt-get install subversion

然后呢,找到你的 repo 地址,https 的那个.

svn co https://github.com/username/repo/branches/branchname/folder    #username 和 repo 替换为用户名和 repo 名,branchname 替换为你的 branch 名字,然后 folder 换成文件夹地址即可
svn co https://github.com/username/repo/trunk/folder    #若为 master branch

Enjoy.


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.