Các Bài Viết Khác

Hủy theo dõi các file trên kho local nhưng không xóa trên kho remote

Sử dụng lệnh:
git update-index --assume-unchanged <file>
Ví dụ:
git update-index --assume-unchanged data/config_global.php
Để tiếp tục theo dõi dùng lệnh:
git update-index --no-assume-unchanged <file>
Để xem danh sách các file đang hủy theo dõi dùng lệnh
git ls-files -v | grep '^h '
Bình luận (0)