Created
March 14, 2012 16:41
-
-
Save joeldart/2037768 to your computer and use it in GitHub Desktop.
git pull request shortcut
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
#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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment