Created
September 5, 2012 10:29
-
-
Save npero/3634719 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