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
- Host: GitHub
- URL: https://github.com/janza/git-remote-viewer
- Owner: janza
- Created: 2016-10-16T21:03:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-14T15:56:40.000Z (about 8 years ago)
- Last Synced: 2025-01-05T23:27:43.651Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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(".")
```