sajad torkamani

Let’s assume you have an index.php file that’s tracked in the remote Git repo but you want to make changes to it locally without the changes being tracked by Git.

You can do that by running:

git update-index --assume-unchanged index.php
Tagged: Git