Because GitKraken and SourceTree are FUCKING SLOW for repo with large LFS objects.
Need to completely skip LFS operation when pull/fetch/checkout/...
GIT_LFS_SKIP_SMUDGE=1 git clone SERVER-REPOSITORY
- Edit
.git/config
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge --skip
process = git-lfs filter-process --skip
checkout =
required = false
[lfs]
fetchexclude = *
such that LFS will not download objects from remote, even if git lfs pull
- remove all LFS files
rm -f .git/lfs/objects/*
, so LFS will not copy from disk.git reset HEAD --hard
works fine with command line, GitKraken and SourceTree.