git assume unchanged 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
Example 3: git assume unchanged and do not commit
git update-index --assume-unchanged "path/to/file"