84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
有个project ,newstart.它里面的文件如下test1test2LICENSEREADME.md
git clone https://github.com/someone/ne... /tmp/newstart会拉取全部的四个文件。test1test2LICENSEREADME.md
现在我想仅仅获得test1这个文件夹和它里面的全部东西,请问,有无办法做到?
Requires git1.7 or above
$ mkdir test $ cd test $ git init $ git remote add -f origin https://github.com/Rozbo/puck.git $ git config core.sparsecheckout true #开启Sparse Checkout模式 $ echo "app" >> .git/info/sparse-checkout #设置仅拉取app这个文件夹 $ git pull origin master
Requires git1.7 or above