-
-
Save epcim/839a58660b1d86869e29dfe7f2fcda36 to your computer and use it in GitHub Desktop.
Enable sparse-checkout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enable sparse-checkout: | |
git config core.sparsecheckout true | |
Configure sparse-checkout by listing your desired sub-trees in .git/info/sparse-checkout: | |
echo some/dir/ >> .git/info/sparse-checkout | |
echo another/sub/tree >> .git/info/sparse-checkout | |
Update your working tree: | |
git read-tree -mu HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment