Git Product home page Git Product logo

git-pulls's Introduction

git-pulls

Makes it easy to list and merge GitHub pull requests.

$ git pulls update
[fetches needed data for all pull requests]

$ git pulls list
Open Pull Requests for schacon/git-reference
19   10/26 0  Fix tag book link    ComputerDruid:fix-ta
18   10/21 0  Some typos fixing.   mashingan:master    

$ git pulls list --reverse
Open Pull Requests for schacon/git-reference
18   10/21 0  Some typos fixing.   mashingan:master    
19   10/26 0  Fix tag book link    ComputerDruid:fix-ta

$ git pulls show 1
> [summary]
> [diffstat]

$ git pulls show 1 --full
> [summary]
> [full diff]

$ git pulls browse 1
> go to web page (mac only)

$ git pulls merge 1
> merge pull request #1

Requirements

git-pulls assumes you're using an 'origin' remote. If you are not, simply add an 'origin' remote that points to the GitHub repository you want to check for pull requests.

Private repositories

To manage pull requests for your private repositories you have set up your git config for github

$ git config --global github.user your_gitubusername
$ git config --global github.token your_githubtoken123456789

You can find your API token on the account page.

Using git-pulls with GitHub Enterprise

If you want to use the git-pulls script with a private GitHub install, set the github.host config value to your internal host.

$ git config --global github.host github.mycompany.com

Installation

Simply install it via Rubygems:

gem install git-pulls

(Prefix with sudo if necessary)

git-pulls's People

Contributors

codykrieger avatar cypher avatar grzegorzkazulak avatar mkhl avatar nono avatar ornicar avatar sandyarmstrong avatar schacon avatar sferik avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.