Skip to content

Instantly share code, notes, and snippets.

@americkson
Created October 8, 2012 18:47
Show Gist options
  • Save americkson/3854167 to your computer and use it in GitHub Desktop.
Save americkson/3854167 to your computer and use it in GitHub Desktop.
Git Ignore Changed File
git update-index --assume-unchanged <file>
Start tracking changes again run the following command:
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