Created
February 2, 2018 12:39
-
-
Save veggerby/9ff8facc36fba1f19e542a733f57660d to your computer and use it in GitHub Desktop.
Git Ignore Changes to a 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
To ignore changes to a file: | |
git update-index --assume-unchanged [file] | |
To unignore changes to a file: | |
git update-index --no-assume-unchanged [file] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment