Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/motemen/git-browse-remote
Open web browser to view remote Git repositories
https://github.com/motemen/git-browse-remote
Last synced: 2 days ago
JSON representation
Open web browser to view remote Git repositories
- Host: GitHub
- URL: https://github.com/motemen/git-browse-remote
- Owner: motemen
- License: mit
- Created: 2012-09-15T15:11:19.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T04:45:55.000Z (almost 2 years ago)
- Last Synced: 2024-12-27T02:10:36.567Z (9 days ago)
- Language: Ruby
- Homepage: http://motemen.github.io/git-browse-remote/
- Size: 422 KB
- Stars: 60
- Watchers: 4
- Forks: 11
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
git-browse-remote [![Build Status](https://travis-ci.org/motemen/git-browse-remote.png?branch=master)](https://travis-ci.org/motemen/git-browse-remote) [![Gem Version](https://badge.fury.io/rb/git-browse-remote.png)](http://badge.fury.io/rb/git-browse-remote)
=================`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 ] [--top|--rev|--ref] [-L ] [ | ] [ | ]
````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:
* When on "master", opens repository's top page ("top" mode)
* e.g. opens https://github.com/motemen/git-browse-remote
* When on another branch/tag, opens repository's branch/tag page ("ref" mode)
* e.g. opens https://github.com/motemen/git-browse-remote/tree/master
* Otherwise, opens repository's commit page ("rev" mode)
* e.g. opens https://github.com/motemen/git-browse-remote/commit/04f7c64ba9d524cf311a673ddce5722b2441e2eaAs 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](http://motemen.github.io/git-browse-remote/).
## 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