打开指定目录或当前目录仓库的 GitHub 页面
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.
npm install --global gh-home$ gh-home --help
Usage
$ gh-home [repo | user/repo]
Options
--prs -p Open the pull requests of a GitHub repo
--issues -i Open the issues of a GitHub repo
Examples
$ gh-home
$ gh-home myrepo
$ gh-home avajs/ava
$ gh-home --issues
$ gh-home --prsAdd 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暂无开放 Issues,或尚未同步最近议题。