NAME

git-pr - Command-line tool to query GitHub pull requests

VERSION

version 0.6.0

SYNOPSIS

$ git pr
$ git pr list closed # not shown by default
$ git pr show 7      # also includes comments
$ git pr patch 7     # can be piped to colordiff if you like colors
$ git pr checkout 7  # create upstream tracking branch pr/7
$ git pr help

$ git pr authorize   # Get access token for commands below
$ git pr close 7
$ git pr open 7
$ git pr comment 7 'This is good stuff!'

INSTALLATION

Install it by just typing in these few lines in your shell:

$ curl -L http://cpanmin.us | perl - --self-upgrade
$ cpanm App::GitHubPullRequest

The following external programs are required:

CAVEATS

If you don't authenticate with GitHub using the authorize command, it will use unauthenticated API requests where possible, which has a rate-limit of 60 requests. If you authorize first it should allow 5000 requests before you hit the limit.

You must be standing in a directory that is a git dir and that directory must have a remote that points to github.com for the tool to work.

SEE ALSO

SEMANTIC VERSIONING

This module uses semantic versioning concepts from http://semver.org/.

AUTHOR

Robin Smidsrød <robin@smidsrod.no>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Robin Smidsrød.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.