-
-
Save dm4/5593931 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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