Skip to content

Instantly share code, notes, and snippets.

@thiagooak
Created December 10, 2013 12:31
Show Gist options
  • Save thiagooak/7889893 to your computer and use it in GitHub Desktop.
Save thiagooak/7889893 to your computer and use it in GitHub Desktop.
git assume unchanged - temporarily ignore file
# ignore
git update-index --assume-unchanged <file>
# stop ignoring
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