Large File Storage (LFS) is an extension to Git to handle large files. This is usually used to store binaries or graphics or video game assets.
- Install: The easiest way is to install a package from the LFS repository:
$ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash $ sudo apt install git-lfs
- Use: To fetch the files from a remote repository to local repository and checkout a large file:
$ git lfs fetch $ git lfs checkout foobar.bin
This replaces the
foobar.bin which was a placeholder with the actual large file fetched from the remote repository (which should also have LFS support, like Github for example).
Tried with: Git 2.9 and Ubuntu 14.04