April 26, 2025

Installation

curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
git lfs install

Usage in Your Repo

Add extension to track the type of files

git lfs track "*.psd"

make sure that below file is tracked

git add .gitattributes

add file with the extension you are going to manage in git.

git add file.psd
git commit -m "Add design file"
git push origin main