Skip to content

Instantly share code, notes, and snippets.

@deivuh
Created July 24, 2014 06:04
Show Gist options
  • Save deivuh/01af021bfd3b32ac921a to your computer and use it in GitHub Desktop.
Save deivuh/01af021bfd3b32ac921a to your computer and use it in GitHub Desktop.
Git ignore file changes
Ignore file changes
git update-index --assume-unchanged <file>
Undo
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