sparse checkout, sub directory clone github
– git init init new repo
– cd to initialized repo
– git remote add -f origin repourl
– git config core.sparsecheckout true
– give the folder that you want to checkout
echo “dir/dir” >> .git/info/sparse-checkout
echo “dir/dir/dir” >> .git/info/sparse-checkout
finally do pull
git pull origin master
No images available.