This will start ignoring the changes to the file:
git update-index --assume-unchanged path/to/file
When you want to start keeping track again:
git update-index --no-assume-unchanged path/to/file
Now list files that are ignored:
git ls-files -v
And with a search options:
git ls-files -v | grep "file_name_part"
git update-index --assume-unchanged path/to/file
When you want to start keeping track again:
git update-index --no-assume-unchanged path/to/file
Now list files that are ignored:
git ls-files -v
And with a search options:
git ls-files -v | grep "file_name_part"