Skip to content

Instantly share code, notes, and snippets.

@sergeykuzmich
Created April 7, 2019 19:02
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 sergeykuzmich/8a110a1bbfcf43a985597400336c28e8 to your computer and use it in GitHub Desktop.
Save sergeykuzmich/8a110a1bbfcf43a985597400336c28e8 to your computer and use it in GitHub Desktop.
.gitconfig aliases for ignore-on-commit feature
[alias]
hide = update-index --assume-unchanged
unhide = update-index --no-assume-unchanged
show-hidden = !git ls-files -v | grep '^h' | cut -c3-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment