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>


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


Leave a Reply

Your email address will not be published. Required fields are marked *