Skip to content

Git LFS and GitLab

Storing Large Files

Quickstart

  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 cute.cat
  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.

Docs

LFS Administration

gitlab-rake  gitlab:lfs:check

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

# gitlab-rake  gitlab:lfs:check
^[[A
Checking integrity of LFS objects
- 1..5: Failures: 0
Done!