Git LFS
Set up:
- install it (scoop:
git-lfs
) - Initialize with git:
git lfs install
- Update git hooks:
git lfs update
Usage:
- Track a file extension:
git lfs track "*.psd"
- Ensure updates to
.gitattributes
are committed:git add .gitattributes
then commit & push files as per typical.
Cloning:
- regular
git clone
will generally work git lfs clone
is often faster
Working:
git lfs fetch
git lfs pull
git lfs prune
- deletes old local cache