Skip to content

motemen/git-browse-remote

Repository files navigation

git-browse-remote Build Status Gem Version

git-browse-remote helps viewing remote repositories e.g. GitHub in your browser.

Installation

[sudo] gem install git-browse-remote 

Usage

git browse-remote [-r|--remote <remote>] [--top|--rev|--ref] [-L <n>] [<commit> | <remote>] [<file> | <directory>]

git-browse-remote opens your web browser by git web--browse to show current repository in browser.

git-browse-remote depends on what commit/ref HEAD points (or you supplied by an argument), such as:

As a special case, if commit is invalid and an valid remote name, that remore repository's page is opened.

For more information such as custom URL mappings, please visit the web page.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request