Last active
July 11, 2017 19:48
-
-
Save sonalranjit/8aeb4149c30918a6be63209fc5331c02 to your computer and use it in GitHub Desktop.
Properly clone git repo with git lfs
This file contains 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
// Skip smudge - We'll download binary files later in a faster batch | |
git lfs install --skip-smudge | |
// Do git clone here | |
git clone ... | |
// Fetch all the binary files in the new clone | |
git lfs pull | |
// Reinstate smudge | |
git lfs install --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment