Skip to content

git-lfs

Ref: tutorial

install

Download the releases and follow platform specific instructions.

usage

# download large files under a repo using lfs.
git lfs pull

# initalize lfs in a git repo
git lfs install

# track certain files (png for example)
git lfs track *.png

# then it's safe to push, it will automatically handle all pngs as lfs
git add *
git commit -m 'lfs'
git push