Created
September 4, 2020 23:26
-
-
Save AMZN-alexpete/a88892c25f82ee832a2b54ae2ed49bcf to your computer and use it in GitHub Desktop.
Timing Git LFS operations
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
# turn off automatic lfs cloning | |
set GIT_LFS_SKIP_SMUDGE=1 | |
# time cloning the repo without pulling LFS files | |
powershell -Command "Measure-Command {git clone https://example.com/repos/Lumberyard}" | |
# time pulling LFS files | |
cd Lumberyard | |
powershell -Command "Measure-Command {git lfs pull}" | |
# turn on automatic lfs cloning | |
set GIT_LFS_SKIP_SMUDGE=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment