标签:cmd ast out master url _for ash config check
注意以下命令要在git bash下进行,不要是cmd,或者是powershell.
cd 到某个目录下
git init
git remote add -f origin <url>
git config core.sparsecheckout true
echo "you_forder1/subforder" >> .git/info/sparse-checkout
echo "you_forder2/subforder" >> .git/info/sparse-checkout
// ... 以上添加文件夹的语句可重复。
git checkout master
ls
标签:cmd ast out master url _for ash config check
原文地址:https://www.cnblogs.com/arxive/p/11105358.html