Skip to content

Instantly share code, notes, and snippets.

@isanosian
Created July 29, 2014 18:48
Show Gist options
  • Save isanosian/82683f4e4928cd2b7775 to your computer and use it in GitHub Desktop.
Save isanosian/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