Skip to content

Instantly share code, notes, and snippets.

@kayiwa
Created January 16, 2015 13:44
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 kayiwa/afa2b24bef5d3b7382d9 to your computer and use it in GitHub Desktop.
Save kayiwa/afa2b24bef5d3b7382d9 to your computer and use it in GitHub Desktop.
[alias]
unstage = reset HEAD
undo-commit = reset --soft HEAD^
poh = push origin HEAD
pulloh = pull origin HEAD
set-upstream = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment