Skip to content

Instantly share code, notes, and snippets.

@joeldart
Created March 14, 2012 16:41
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 joeldart/2037768 to your computer and use it in GitHub Desktop.
Save joeldart/2037768 to your computer and use it in GitHub Desktop.
git pull request shortcut
#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