Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 258 Bytes

gitSpareCheckout.MD

File metadata and controls

12 lines (9 loc) · 258 Bytes

mkdir {Repo} cd {Repo} git init git remote add -f origin {Url}

git config core.sparseCheckout true

echo "app/dir/" >> .git/info/sparse-checkout echo "app/dir/subDir" >> .git/info/sparse-checkout

#Copy just the first level git pull --depth=1 origin master