Giter Club home page Giter Club logo

git-review's Introduction

git-review

Manage review workflow for projects hosted on GitHub (using pull requests).

$ git review list
Pending requests for 'b4mboo/git-review/master'
ID      Updated    Comments  Title
42      14-Jul-11  0         [Review] Request from 'mess110' @ 'b4mboo/git-review/documentation
23      13-Jul-11  8         [Review] Request from 'mess110' @ 'b4mboo/git-review/new_feature

$ git review list --reverse
Pending requests for 'b4mboo/git-review/master'
ID      Updated    Comments  Title
23      13-Jul-11  8         [Review] Request from 'mess110' @ 'b4mboo/git-review/new_feature
42      14-Jul-11  0         [Review] Request from 'mess110' @ 'b4mboo/git-review/documentation

$ git review show 42
> [summary]
> [diffstat]
> [discussion]

$ git review show 42 --full
> [summary]
> [full diff]
> [discussion]

$ git review browse 42
> go to web page

$ git review checkout 42
> checkout changes from request #42 to your local repository in a headless state

$ git review checkout 42 --branch
> checkout remote branch from request #42 and create a local branch from it

$ git review approve 42
> approve request #42 as reviewed by adding a standard comment

$ git review merge 42
> accept request #42 by merging it

$ git review close 42
> close request #42

$ git review prepare
> create a new local branch to base a new request upon

$ git review create
> create a new request by creating all necessary local and remote branches

$ git review clean 42
> delete local and remote branches for that request

$ git review clean 42 --force
> delete branches even if they contain unmerged commits

$ git review clean --all
> delete all obsolete branches

Installation

To install it via Rubygems, you might need to add Gemcutter to your Rubygems sources:

gem install gemcutter --source http://gemcutter.org

Afterwards simply do:

gem install git-review

(Prefix with sudo if necessary)

To be able to use all of git-review's features you have set up your git config for GitHub.

git config --global github.login your_github_login_1234567890
git config --global github.password your_github_password_1234567890

You can find your API token on the account page.

Wiki

For more information visit the wiki.

git-review's People

Contributors

schacon avatar sferik avatar cypher avatar jordimassaguerpla avatar mess110 avatar nixon avatar nono avatar codykrieger avatar b4mboo avatar grzegorzkazulak avatar mkhl avatar sandyarmstrong avatar swalberg avatar ornicar avatar

Stargazers

Bill Moritz avatar

Watchers

James Cloos avatar Bill Moritz 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.