https://github.com/danielwhatmuff/gh
Open a Github project in a browser from the command line
https://github.com/danielwhatmuff/gh
browser cli command-line command-line-tool git github github-page helper opener python terminal
Last synced: 10 months ago
JSON representation
Open a Github project in a browser from the command line
- Host: GitHub
- URL: https://github.com/danielwhatmuff/gh
- Owner: danielwhatmuff
- Created: 2017-10-26T10:31:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-06T11:11:31.000Z (about 7 years ago)
- Last Synced: 2025-03-23T21:01:46.836Z (10 months ago)
- Topics: browser, cli, command-line, command-line-tool, git, github, github-page, helper, opener, python, terminal
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.rst
Awesome Lists containing this project
README
# gh - a tool to open Github projects in a browser from the command line

## Overview
* Install and execute to open a Github project in your browser from the command line
* Useful for command line git users e.g. to push changes and open up a PR `git push origin feature/mything && gh --pulls`
* Must from within the root directory of a checked out repo
### Install the CLI and view the available options
```bash
$ pip install gh
$ gh --help
```
### Open a projects pull requests page
```bash
$ cd your-repo-dir
$ gh --pulls
```
### Open a projects releases page
```bash
$ cd your-repo-dir
$ gh -r
```
### Available options as of 0.0.3
```
--home Open the Home page (Default action)
-p, --pulls Open the Pull requests page
-b, --branches Open the Branches page
-s, --settings Open the Settings page
-r, --releases Open the Releases page
-t, --tags Open the Tags page
-c, --collaboration Open the Collaboration page
-w, --wiki Open the Wiki
-i, --issues Open the Issues page
```
## Feel free to fork/PR any contributions