Skip to content

Instantly share code, notes, and snippets.

@kayiwa
Created January 16, 2015 13:44
Show Gist options
  • Select an option

  • Save kayiwa/afa2b24bef5d3b7382d9 to your computer and use it in GitHub Desktop.

Select an option

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