git-proutis a CLI tool using Golang. You can easily checkout GitHub Pull Request locally.
$ brew tap tsuyoshiwada/git-prout
$ brew install git-proutIf you are in another platform, you can download binary from release page and place it in $PATH directory.
Or you can use go get.
$ go get -u github.com/tsuyoshiwada/git-prout$ git-prout [<options>] <number>
Options:
-h, --help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
--debug Enable debug mode.
-r, --remote="origin" Reference of remote.
-f, --force Force execute pull or checkout.
-q, --quiet Silence any progress and errors (other than parse error).
Arguments:
<number> ID number of pull request
You can execute git-prout as a git subcommand.
$ git prout 123- Fork (https://github.com/tsuyoshiwada/git-prout)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go testcommand and confirm that it passes - Create new Pull Request :)
Bugs, feature requests and comments are more than welcome in the issues.