Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Git command to automate many common tasks involving pull requests

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.markdown
Octocat-spinner-32 git-pull-request.py
Octocat-spinner-32 git-pull-request.sh
README.markdown

Git Pull Request

Git command to automate many common tasks involving pull requests.

Install

  1. First clone this repository to a directory of your choice.

    $ git clone git://github.com/greneholt/git-pull-request.git
    
  2. Then edit your bash profile and add the following line:

    alias gitpr="source YOUR_DIRECTORY/git-pull-request/git-pull-request.sh"
    
  3. Go to https://github.com/account/admin to find your API token. Then edit your .gitconfig file and add the following:

    [github]
        user = your github username
        token = your github API token
    
  4. Change into a local git repository and try it out! To see a list of all open pull requests on your repository, run:

    gitpr
    

    To see a list of all possible commands, run:

    gitpr help
    
Something went wrong with that request. Please try again.