git-pr - Command-line tool to query GitHub pull requests
$ 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 login # Get access token for commands below $ git pr close 7 $ git pr open 7 $ git pr comment 7 'This is good stuff!'
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:
If you don't authenticate with GitHub using the login command, it will use unauthenticated API requests where possible, which has a rate-limit of 60 requests. If you login 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.
This module uses semantic versioning concepts from http://semver.org/.
Robin Smidsrød <firstname.lastname@example.org>
This software is copyright (c) 2013 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.