git lfs track '*.psd'

Category: Git - Advanced

git lfs track '*.psd'

Tell Git LFS to manage a file type

Adds a pattern to .gitattributes so matching files, here Photoshop files, are stored as LFS pointers instead of blobs. The pointer keeps the commit small while the real content lives on the LFS server. Commit the .gitattributes change.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.