从github checkout子文件夹
1.将远程项目加载到指定目录:$git init; $git remote add -f origin url
2.使用SparseCheckout模式:$git config core.sparsecheckout true
3.配置要下载的文件夹: $echo spring-boot-simples/spring-boot-simples-atomikis >> .git/info/sparse-checkout
4.下载:$git pull origin master
完全路径是spring-boot/spirng-boot-simples/spring-boot-simples-atomikis
在sparse-checkout中写的是spirng-boot-simples/spring-boot-simples-atomikis