Checkout pull request locally with Golang.
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
vendor
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
cli.go
cli_test.go
git.go
git_test.go
helpers_test.go
lock.json
main.go
manifest.json
pr.go
pr_test.go
version.go

README.md

git-prout

Travis GitHub release MIT License

git-prout is a CLI tool using Golang. You can easily checkout GitHub Pull Request locally.

Table of Contents

Demo

Demo Animation

Install

Homebrew

$ brew tap tsuyoshiwada/git-prout
$ brew install git-prout

If you are in another platform, you can download binary from release page and place it in $PATH directory.

Golang

Or you can use go get.

$ go get -u github.com/tsuyoshiwada/git-prout

Usage

$ 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

Tips

You can execute git-prout as a git subcommand.

$ git prout 123

Contribute

  1. Fork (https://github.com/tsuyoshiwada/git-prout)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test command and confirm that it passes
  6. Create new Pull Request :)

Bugs, feature requests and comments are more than welcome in the issues.

License

MIT © tsuyoshiwada