Skip to content

Instantly share code, notes, and snippets.

@captbaritone
Created July 25, 2013 18:16
Show Gist options
  • Save captbaritone/6082326 to your computer and use it in GitHub Desktop.
Save captbaritone/6082326 to your computer and use it in GitHub Desktop.
[alias]
ship = "!gitmergeto() { export tmp_branch=`git branch | grep '* ' | tr -d '* '` && git checkout master && git merge $tmp_branch && git push; unset tmp_branch; }; gitmergeto"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment