Skip to content

Git LFS and GitLab

Storing Large Files


  1. Ensure that you have installed the appropriate git-lfs package for your system
  2. git lfs install
  3. git lfs track "*.cat"
  4. git add
  5. git add .gitattributes

Commit and push!

Files tracked by Git LFS display an icon to indicate if the file is stored as a blob or an LFS pointer.


LFS Administration

gitlab-rake  gitlab:lfs:check

If everything is going well, the output looks like this:

# gitlab-rake  gitlab:lfs:check
Checking integrity of LFS objects
- 1..5: Failures: 0