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
Recent Comments