Git-lfs Usage
Init
Initialize git lfs (provided its already installed)
# Global initialization
git lfs install
# Only for local repository
git lfs install --local
Track
Track files with git lfs
git lfs track "*.psd"
– This will track all.psd
files
NOTE: Make sure
.gitattributes
is tracked
git add .gitattributes
Then just regularly commit and push to GitHub normally
git add file.psd
git commit -m "Add design file"
git push origin master
Ref: