下载整个仓库 1 $ git clone https://github.com/Yangfan2016/PersonalWorks.git 下载仓库内的指定文件 1234567 $ git init$ git config core.sparseCheckout true $ git remote add -f origin https://github.com/Yangfan2016/PersonalWorks.git$ echo "static-page/" >> .git/info/sparse-checkout # 写入要下载的文件目录$ echo "web-app/" >> .git/info/sparse-checkout$ git pull origin master 赞微海报分享
近期评论