Skip to content

git command to open the github page for the repo

Notifications You must be signed in to change notification settings

jensaronsson/git-open

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

git-open

A command-line script to open the GitHub page, or website for a repository.

Usage

git open [remote-name] [branch-name]

git open2015-01-24 13_51_18

Examples

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

$ 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

Put the bash script in ~/bin/ and make sure that folder's in your PATH.

wget -O ~/bin/git-open https://raw.githubusercontent.com/paulirish/git-open/master/git-open

Thx

@jasonmccreary did all the hard work

We're not done.

Check the issues for ways this could be way better.

About

git command to open the github page for the repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%