Skip to content

Instantly share code, notes, and snippets.

@linkesch
Last active December 25, 2015 11:59
Show Gist options
  • Save linkesch/6972733 to your computer and use it in GitHub Desktop.
Save linkesch/6972733 to your computer and use it in GitHub Desktop.
git - Ignore changes in a certain file
git update-index --assume-unchanged <file>
git update-index --no-assume-unchanged <file>
git ls-files -v|grep '^h'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment