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

https://github.com/janza/git-remote-viewer

👀 Bash script to view file in web interface of git hosting service
https://github.com/janza/git-remote-viewer

Last synced: 3 months ago
JSON representation

👀 Bash script to view file in web interface of git hosting service

Awesome Lists containing this project

README

        

# Git remote viewer

Opens specified file in web interface of remote git service.

Supported services: bitbucket.org, github.com, gitlab.com

### Installation

```
sudo mv git-view /usr/local/bin/git-view
```

### Usage

```
git view file [linenumber]
```

Bonus vim mapping that opens currently selected line in the browser:

```
nmap gv :execute "!git-view % " . line(".")
```