Skip to content

πŸ‘€ Bash script to view file in web interface of git hosting service

Notifications You must be signed in to change notification settings

janza/git-remote-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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(".")<CR>

About

πŸ‘€ Bash script to view file in web interface of git hosting service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages