git-pr

1.0.2 • Public • Published

git-pr

Type git pr to open the GitHub page or website to open a PR for the current branch

Usage

git pr [remote-name] [branch-name]

Examples

$ git pr
> open https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/compare/CURRENT_BRANCH?expand=1

$ git open upstream
> open https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/tree/CURRENT_BRANCH

$ git open upstream master
> open https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/tree/master

Installation

npm install --global git-pr

Supported:

  • Github.com

Thx

@jasonmccreary did all the hard work Paul Irish

License

Copyright Joe Ennever. Licensed under MIT.

http://opensource.org/licenses/MIT

/git-pr/

    Package Sidebar

    Install

    npm i git-pr

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • joeennever