Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

lfs-example

Setup

# Enable LFS on the repo:
git lfs install

# Track all JPEG files as LFS:
git lfs track '*.jpg' # Creates the .gitattributes file

# Commit .gitattributes file:
git add .gitattributes
git commit -m "Add .gitattributes"

# Commit a JPEG file:
git add image.jpg
git commit -m "Add an image"

# Check if LFS is configured:
test -f .gitattributes && cat .gitattributes | grep filter=lfs

# List any files tracked as LFS:
git ls-files ':(attr:filter=lfs)'

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors