Skip to content

Instantly share code, notes, and snippets.

@AMZN-alexpete
Created September 4, 2020 23:26
Show Gist options
  • Save AMZN-alexpete/a88892c25f82ee832a2b54ae2ed49bcf to your computer and use it in GitHub Desktop.
Save AMZN-alexpete/a88892c25f82ee832a2b54ae2ed49bcf to your computer and use it in GitHub Desktop.
Timing Git LFS operations
# 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