Skip to content

Instantly share code, notes, and snippets.

@andrewkatz
Created July 17, 2015 21:13
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 andrewkatz/093cbd8f19161abb68e5 to your computer and use it in GitHub Desktop.
Save andrewkatz/093cbd8f19161abb68e5 to your computer and use it in GitHub Desktop.
Auto PR @trobrock
alias gphu='gph -u origin'
gpqt()
{
last_commit=$(git log -1 --pretty=%B)
message=${1:-$last_commit}
echo "$message\n@trobrock" | gpq -F -
}
xpq()
{
current_branch=$(git rev-parse --abbrev-ref HEAD)
gphu $current_branch
gpqt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment