Pull ALL files from git LFS

Norman Percy picture Norman Percy · May 14, 2018 · Viewed 14.4k times · Source

Is it possible to locally cache ALL files in a git-LFS repo for offline use? That is, make the repo usable like a normal git repo, even without an internet connection to fetch git-LFS files?

Answer

mbaker3 picture mbaker3 · Jan 24, 2019

Yes! You can download all LFS files with the following command:

git lfs fetch --all

Check out the documentation for this feature here:

https://github.com/git-lfs/git-lfs/blob/master/docs/man/git-lfs-fetch.1.ronn