git-pull-request is a command line tool to send GitHub pull-request from your terminal.
Use the standard Python installation method:
pip install git-pull-request
You need to write your GitHub credentials into your ~/.netrc file:
machine github.com login jd password f00b4r
Once you made a bunch of commits into a branch, just type:
git pull-request
This will:
- Fork the upstream repository into your account (if needed)
- Add your forked repository as a remote named "github" (if needed)
- Force push your current branch to your remote
- Create a pull-request for your current branch to the remote matching branch, or master by default.