mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
| git-open | ||
| README.md | ||
git-open
A command-line script to open the GitHub page for a repository.
Usage
git open [remote-name] [branch-name]
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 this in ~/bin and make sure that's in your PATH.