All Projects → sindresorhus → Gh Home

sindresorhus / Gh Home

Licence: mit
Open the GitHub page of the given or current directory repo

Programming Languages

javascript
184084 projects - #8 most used programming language

gh-home

Open the GitHub page of the given or current directory repo

It will attempt to open the upstream repo if there is one or the forked repo.

Install

$ npm install --global gh-home

Usage

$ gh-home --help

  Usage
    $ gh-home [repo | user/repo]

  Examples
    $ gh-home
    $ gh-home myrepo
    $ gh-home avajs/ava

Tips

Add alias gh=gh-home to your .zshrc/.bashrc, so that you can run it with $ gh instead.

You can also use the official GitHub CLI instead:

$ gh alias set home "repo view --web"
$ gh home

Related

  • npm-home - Open the npm page of a package
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].