Ben d'├ętat

Ben Scott


~/Git - ignore local changes to files

08 Oct 2013

GIT: ignoring changes in tracked files

just run the following command on the file or path you want to ignore the changes of:

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

If you wanna start tracking changes again run the following command:

git update-index --no-assume-unchanged <file>

comments powered by Disqus