Skip to content

Instantly share code, notes, and snippets.

@isanosyan
Created July 29, 2014 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isanosyan/82683f4e4928cd2b7775 to your computer and use it in GitHub Desktop.
Save isanosyan/82683f4e4928cd2b7775 to your computer and use it in GitHub Desktop.
git: ignore local changes to tracked files
[alias]
ignore = update-index --assume-unchanged
unignore = update-index --no-assume-unchanged
ignored = !git ls-files -v | grep "^[[:lower:]]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment