Git Sparse Checkout - only pull subdirectories on the top most level

Viewed 17

Is there any way, with git's sparse checkout, to do something like the following?

That is SubDir1 and SubDir2 are on the top most level. I do not want Dir1 or Dir2 on the top most level of the repo.

enter image description here

0 Answers
Related