https://github.com/wadackel/git-prout
Checkout pull request locally with Golang.
https://github.com/wadackel/git-prout
cli command-line-tool github-extension golang
Last synced: 10 months ago
JSON representation
Checkout pull request locally with Golang.
- Host: GitHub
- URL: https://github.com/wadackel/git-prout
- Owner: wadackel
- License: mit
- Created: 2017-04-02T12:26:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T20:21:51.000Z (over 4 years ago)
- Last Synced: 2025-03-17T14:36:02.418Z (11 months ago)
- Topics: cli, command-line-tool, github-extension, golang
- Language: Go
- Homepage:
- Size: 1.16 MB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# git-prout
[](https://travis-ci.org/tsuyoshiwada/git-prout)
[](https://github.com/tsuyoshiwada/git-prout/releases)
[](https://github.com/tsuyoshiwada/git-prout/blob/master/LICENSE)
> `git-prout` is a CLI tool using Golang. You can easily checkout GitHub Pull Request locally.
## Table of Contents
- [Demo](#demo)
- [Install](#install)
- [Usage](#usage)
- [Contribute](#contribute)
- [License](#license)
## Demo

## Install
### Homebrew
```bash
$ brew tap tsuyoshiwada/git-prout
$ brew install git-prout
```
If you are in another platform, you can download binary from [release page](todo) and place it in `$PATH` directory.
### Golang
Or you can use `go get`.
```bash
$ go get -u github.com/tsuyoshiwada/git-prout
```
## Usage
```bash
$ git-prout []
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:
ID number of pull request
```
### Tips
You can execute `git-prout` as a git subcommand.
```bash
$ git prout 123
```
## Contribute
1. Fork (https://github.com/tsuyoshiwada/git-prout)
1. Create a feature branch
1. Commit your changes
1. Rebase your local changes against the master branch
1. Run test suite with the `go test` command and confirm that it passes
1. Create new Pull Request :)
Bugs, feature requests and comments are more than welcome in the [issues](https://github.com/tsuyoshiwada/git-prout/issues).
## License
[MIT © tsuyoshiwada](./LICENSE)