Git

Git操作

Git在线练习

检出部分代码的步骤


git init <project-name>
cd <project-name>
git remote add -f origin <project-url>
git config core.sparseCheckout true
echo "you/want/checkout/floder or files/" >> .git/info/sparse-checkout
git pull origin master