This blog is dedicated to Linux lovers, Please share your Linux experience and make things better.
git update-index --assume-unchanged path
/to/file
.txt
git commit -a -m
"updated some files but excluded this"
git update-index --no-assume-unchanged path