Git LFS

Sun 27 June 2021

First you need a .gitattibutes files in your repository. This is where the LFS file patterns are stored.

:::sh touch .gitattributes

Now lets start tracking *.gz files as LFS.

git lfs track "*.gz"

This tells git-lfs to track all files matching the .bin pattern. The quotes around the *.bin are …

Category: .bash snippets

Read More