Back to Toolbox

Git LFS

Git LFS (Large File Storage) is useful for storing binaries in your GitHub repositories.

Installation

Once on the machine:

brew install git-lfs
git lfs install

Then once in each repo:

git lfs track "static/img/**/*"

Note: the glob pattern that also matches subfolders is **/*.

This will produce a .gitattributes file that needs to be committed to your repository.