Git / Linux · October 26, 2016 0

Git Ignore further watching for file

If you have committed a file to git and now you want git to ignore or stop wathcing file for further modifications you need to use following command

git update-index --assume-unchanged <filepath>

example

git update-index --assume-unchanged index.php