Skip to content

Instantly share code, notes, and snippets.

@Jerrot
Last active June 28, 2017 09:38
Show Gist options
  • Save Jerrot/5044ea0f9e7e8a363ade937ca35ee8c5 to your computer and use it in GitHub Desktop.
Save Jerrot/5044ea0f9e7e8a363ade937ca35ee8c5 to your computer and use it in GitHub Desktop.
Temporary ignore/unignore git files when using the index (like git add -A)
[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