Avancerad Git
Amanda Crawford-Adamo
Software and Data Engineer
Git LFS-kommando:
git lfs
Fördelar:
Initiera Git LFS
git lfs install
Ange filer att spåra och generera filen .gitattributes
git lfs track "*.csv"
Lägg till .gitattributes med spårningskonfiguration i Git-indexet
git add .gitattributes
git commit -m "Track CSV files"

git addgit add large_file.csv
git commit -m "Update large CSV file"
git push origin main
git pull
git lfs pull # If needed to explicitly download LFS content
När du bör använda:
När du inte bör använda:
Tips:
Avancerad Git