hotoo / gitopen

:twisted_rightwards_arrows: Open git/hg/svn remote url via web browser from terminal.
https://hotoo.github.io/blog/post/gitopen
42 stars 6 forks source link

feat(filepath): open given file. #16

Closed hotoo closed 9 years ago

hotoo commented 9 years ago
$ cd subdir
$ gitopen -p .                      # https://github.com/hotoo/gitopen/master/subdir
$ gitopen -p ../README.md           # https://github.com/hotoo/gitopen/blob/master/README.md
$ gitopen -p ../../other-repo-dir   # https://github.com/hotoo/other-repo-dir
$ gitopen -p ../README.md -b branch-name