Skip to content

Instantly share code, notes, and snippets.

@BinaryKitten
Created April 16, 2013 15:49
Show Gist options
  • Save BinaryKitten/5397070 to your computer and use it in GitHub Desktop.
Save BinaryKitten/5397070 to your computer and use it in GitHub Desktop.
[alias]
update = pull origin
st = status
submit = push origin
merge-branch = "!sh -c 'git checkout $1 && git update $1 && git checkout - && git merge $1' -"
merge-to = "!sh -c 'git checkout $1 && git update $1 && git merge - && git submit $1 && git checkout -' -"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment