Git Large File Storage
Git Large File Storage (Git LFS) verwaltet große Dateien in Git.
Installation
brew install git-lfs # macOS
sudo apt-get install git-lfs # Ubuntu/Debian
git lfs install
Verwendung
git lfs track "*.psd"
git add .gitattributes
git add Pfad/zu/deiner/großenDatei.psd
git commit -m "Große Datei mit Git LFS hinzufügen"
git push origin main
git clone https://github.com/user/repo.git
git lfs pull
Konfiguration
Stellen Sie sicher, dass das Remote-Repository Git LFS unterstützt.
git lfs ls-files
Tipps
git lfs migrate import --include="*.psd"