Skip to content

Instantly share code, notes, and snippets.

@dm4
Forked from hSATAC/gist:5591270
Created May 16, 2013 18:29
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 dm4/5593931 to your computer and use it in GitHub Desktop.
Save dm4/5593931 to your computer and use it in GitHub Desktop.
# Usage: pr (pull request current branch into develop)
# Usage 2: pr stable (pull request current branch into stable)
function pr() {
base=$1;
if [ "$1" == "" ]; then
base="develop"
fi
hub pull-request -b team:"$base" -h team:`git rev-parse --abbrev-ref HEAD`;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment