git asume sin cambios y no comete

git update-index --assume-unchanged "path/to/file"
G. Bazz