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
Learn Linux, Nginx, Apache, MongoDB, MySQL, PHP, Javascript, CSS
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