Skip to content
Create pull requests from the command line.
Find file
Pull request Compare This branch is 11 commits ahead, 2 commits behind gabebw:master.
Failed to load latest commit information.
bin now accepting repo names with (gasp!) underscores and hyphens
lib Prepare for 0.0.2.
.gitignore Added a whole bunch of functions
Gemfile Initial commit.
LICENSE Initial commit. Modified README
pull.gemspec That shouldn't be a development dependency.


Creates Github pull requests from the command line.


Add this line to your application's Gemfile:

gem 'pull'

And then execute:

$ bundle

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


$ pull parent:feature-branch


$ pull master # master branch of your own repo


$ 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.


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.