public
Created

git pull request shortcut

  • Download Gist
gistfile1.txt
1 2 3 4
#depends on currbranch (https://gist.github.com/1483316)
#start is a windows command. for OSX change it to open
 
git config alias.pullrequest '!curr=$(git currbranch) && git push origin $curr && start https://github.com/<YOUR ORGANIZATION>/<YOUR REPO>/pull/new/$curr'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.