Because GitKraken and SourceTree are FUCKING SLOW for repo with large LFS objects.
Need to completely skip LFS operation when pull/fetch/checkout/...
clone
Skip downloading when GIT_LFS_SKIP_SMUDGE=1 git clone SERVER-REPOSITORY
fetch
/checkout
/pull
Skip downloading when - 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 LFS objects from existing repo
- 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.