Use last commit message as PR title:
$ pull-request
Add customer PR title
$ pull-request "custom title"
# Github plugin | |
# https://hub.github.com/ | |
alias git="hub" | |
pull-request() { | |
default=$(git log -1 --pretty=%B | cat) | |
message=${1:-"$default"} | |
git pull-request -m $message | cat | |
} |