https://github.com/thomaslevesque/gitbrowse
A command line tool to open the webpage for a GitHub repo
https://github.com/thomaslevesque/gitbrowse
Last synced: 12 months ago
JSON representation
A command line tool to open the webpage for a GitHub repo
- Host: GitHub
- URL: https://github.com/thomaslevesque/gitbrowse
- Owner: thomaslevesque
- License: apache-2.0
- Created: 2017-02-16T01:52:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-24T13:13:49.000Z (almost 8 years ago)
- Last Synced: 2025-07-06T00:02:26.847Z (12 months ago)
- Language: C#
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# GitBrowse
A command line tool to open the webpage for a GitHub repository. Also works for GitLab, and maybe others.
## Usage
Open the webpage for the `origin` remote if it exists, or the first remote it finds
```
> GitBrowse
```
Open the webpage for the `foobar` remote:
```
> GitBrowse foobar
```
## Git alias
A nicer way to use it is to create a git alias. I like to call mine `hub`, because `git hub` :wink:
```
> git config --global alias.hub '!GitBrowse $1'
```
You can then use it like this:
```
> git hub
```
or
```
> git hub foobar
```