Creates Github pull requests from the command line.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install pull
You can pull to any branch in your repo or even to the parent repo if your repo is a fork of another repo
# This breaks if your branch isn't on Github. $ git push origin your-branch $ pull parent:master or $ pull parent:feature-branch or $ pull master # master branch of your own repo or $ pull --ask # gets a list of all branches where you can pull to including parent repo branches
Thanks to Nick Quaranto (qrush) for writing the first version of this script and leaving a version of it in every project he touched.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request