快三最准高手教学1、创建路径#mkdir gitfile#cd <路径> eg:cd /home/gitfile/2、创建一个空的本地仓库#git init3、连接远程仓库GitHub#git remote add -f origin <url>eg:git remote add -f origin http://kf-gitlab-166/workspace/demo.git4、开启sparse checkout 模式#git config core.sparsecheckout true5、告诉Git哪些文件或者文件夹是需要下载的(作为列表保存在 .git/info/sparse-checkout 文件中)#echo demo >> .git/info/sparse-checkout6、拉取想要的分支#git pull origin master