sometimes , Accidentally submitted a configuration file config.php, After each local development test , Need to change the configuration file . Quite a trouble .
Use
git update-index --assume-unchanged /path/file This modification can be ignored . So you don’t have to submit to the Library .
The literal meaning is easy to understand
assume hypothesis
unchanged Not changed .
If you want to recover this file , It can be used
git update-index --no-assume-unchanged /path/file To resume tracking