Git LFS

Many of FIREWHEEL model component repositories contain large binary files. Therefore, for storing these files in Git we use Git Large File Storage (LFS). Generally, this only needs to be installed on your Control Node. For more information on using LFS please see Using Git LFS.

Installing LFS

Before installing Git LFS it is highly recommended to install Git version 2.17 or later. This version of Git has vastly improved the speed of cloning an LFS repository. You can install the latest version of Git by following the instructions listed here.

To install git-lfs you can follow the instructions here.

Setting up .gitconfig

Once Git LFS is installed you need to initialize your .gitconfig file. You can do this by running the command: git lfs install. This may complain that you are not in a Git repository but that is okay. You need to verify that your ~/.gitconfig includes the following lines:

[filter "lfs"]
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f
    process = git-lfs filter-process
    required = true