Hub Git Wrapper
github.com
github.com
Edit: And per some concerns elsewhere in the comments, there's also a --dryrun parameter to ensure that it's going to do what you want it to do. ;)
hub clone user/repo
cd repo
git checkout -b my-contrib
# ... fix fix fix ...
hub fork
git push -u zimbatm my-contrib
hub browse # Opens browser on my fork
# Create PR with comment in browserIt sent the PR from my branch on my fork to master on my fork. Obviously I wished to PR against the original thing I forked from.
I just stick to the web interface now.
Perhaps not using hub to do so, though.
But I always believe them when they say something is difficult or confusing. Research should not be required to make a good CLI do what you want, provided you understand what you want.
git pull-request \
-m "I added an awesome feature"\
-b baserepo:master\
-h myfork:feature-branchWorld domination feels imminent.