Git nâng cao
Amanda Crawford-Adamo
Software and Data Engineer
Lệnh Git LFS:
git lfs
Lợi ích:
Khởi tạo Git LFS
git lfs install
Thiết lập tệp cần theo dõi và tạo .gitattributes
git lfs track "*.csv"
Thêm .gitattributes vào chỉ mục với cấu hình theo dõi
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 # Nếu cần tải nội dung LFS rõ ràng
Khi nên dùng:
Khi không nên dùng:
Mẹo:
Git nâng cao