Open web browser to view remote Git repositories
Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib/git/browse
spec
.gitignore bundler style Sep 25, 2013
.travis.yml
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
git-browse-remote.gemspec lock guard version for 1.8 Oct 9, 2013

README.md

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