Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
git pull request shortcut
#depends on currbranch (
#start is a windows command. for OSX change it to open
git config alias.pullrequest '!curr=$(git currbranch) && git push origin $curr && start<YOUR ORGANIZATION>/<YOUR REPO>/pull/new/$curr'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment