Skip to content

Instantly share code, notes, and snippets.

@eduardo-matos
Created May 24, 2013 11:23
Show Gist options
  • Save eduardo-matos/5642824 to your computer and use it in GitHub Desktop.
Save eduardo-matos/5642824 to your computer and use it in GitHub Desktop.
GIT - temporarily ignore file
# 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