Skip to content

Instantly share code, notes, and snippets.

@Ephasme
Last active December 18, 2015 22:49
Show Gist options
  • Select an option

  • Save Ephasme/5856799 to your computer and use it in GitHub Desktop.

Select an option

Save Ephasme/5856799 to your computer and use it in GitHub Desktop.
Usefull aliases for GIT
[alias]
undo = reset --hard
co = checkout
cob = checkout -b
changes = diff --name-status -r
diffstat = diff --stat -r
ignored = !git ls-files -v | grep "^[[:lower:]]"
ignore = !git update-index --assume-unchanged
consider = !git update-index --no-assume-unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment