I was following the answer here: https://stackoverflow.com/questions/600 ... repository
Code: Select all
git init
git remote add -f origin https://github.com/llvm/llvm-project.git
git config core.sparseCheckout true
git config pull.ff only
echo "libcxx/" >> .git/info/sparse-checkout
echo "libcxxabi/" >> .git/info/sparse-checkout
git pull --depth=1 origin master
How can I just clone/download the two subdirectories I care about?