Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pull ALL files from git LFS

Tags:

git

git-lfs

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?

like image 789
Norman Percy Avatar asked May 14 '18 18:05

Norman Percy


People also ask

What is Git LFS pull?

Git LFS (Large File Storage) is a Git extension developed by Atlassian, GitHub, and a few other open source contributors, that reduces the impact of large files in your repository by downloading the relevant versions of them lazily.


1 Answers

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

like image 127
mbaker3 Avatar answered Sep 18 '22 16:09

mbaker3