Git ignore local changes to tracked file code example
Example: git temporarily ignore changes to tracked file
# start ignoring changes to a file:
git update-index --assume-unchanged path/to/file
# keep tracking again:
git update-index --no-assume-unchanged path/to/file