Created
October 7, 2015 22:57
-
-
Save iambmelt/2dd3195966359f2ede3f to your computer and use it in GitHub Desktop.
Git - Ignore changes to a tracked file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git update-index --assume-unchanged <file> |
Love this one. I use it all the time.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
and the reverse (aka start tracking changes again)
git update-index --no-assume-unchanged <file>