Git Large File Storage
Git Large File Storage (Git LFS) manages large files in Git.
Installation
brew install git-lfs # macOS
sudo apt-get install git-lfs # Ubuntu/Debian
git lfs install
Usage
git lfs track "*.psd"
git add .gitattributes
git add path/to/your/largefile.psd
git commit -m "Add large file with Git LFS"
git push origin main
git clone https://github.com/user/repo.git
git lfs pull
Configuration
Ensure remote repository supports Git LFS.
git lfs ls-files
Tips
git lfs migrate import --include="*.psd"