An open API service indexing awesome lists of open source software.

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

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
```