git unchanged file code example
Example 1: update index assume changed
$ git update-index --assume-unchanged path/to/file
Example 2: update index assume changed
git update-index --no-assume-unchanged path/to/file
$ git update-index --assume-unchanged path/to/file
git update-index --no-assume-unchanged path/to/file