Created
May 24, 2013 11:23
-
-
Save eduardo-matos/5642824 to your computer and use it in GitHub Desktop.
GIT - temporarily ignore file
This file contains hidden or 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
# So, to temporarily ignore changes in a certain file: | |
git update-index --assume-unchanged -- <file> | |
# Then when you want to track changes again: | |
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