Skip to content

Type `git open` to open the GitHub page or website for a repository in your browser.

Notifications You must be signed in to change notification settings

JoeEnnever/git-pr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 

Repository files navigation

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 pr upstream
> open https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/tree/CURRENT_BRANCH

$ git pr 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

About

Type `git open` to open the GitHub page or website for a repository in your browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%