Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-open

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-open

Type `git open` to open the GitHub page or website for a repository.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
73
increased by62.22%
Maintainers
1
Weekly downloads
 
Created
Source

git-open

A command-line script to open the GitHub page, or website for a repository.

Usage

git open [remote-name] [branch-name]

git open2015-01-24 13_51_18

Examples

$ git open
> open https://github.com/REMOTE_ORIGIN_USER/CURRENT_REPO/tree/CURRENT_BRANCH

$ git open upstream
> open https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/tree/CURRENT_BRANCH

$ git open upstream master
> open https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/tree/master

Installation

Put the bash script in ~/bin/ and make sure that folder's in your PATH.

curl -o ~/bin/git-open https://raw.githubusercontent.com/paulirish/git-open/master/git-open
chmod +x ~/bin/git-open

Gitlab support

To configure gitlab support you need to set gitopen.gitlab.domain:

git config --global gitopen.gitlab.domain [yourdomain.here]
# or
git config gitopen.gitlab.domain [yourdomain.here] # in your local repository

Thx

@jasonmccreary did all the hard work

License

Copyright Jason McCreary & Paul Irish. Licensed under MIT.

http://opensource.org/licenses/MIT

Keywords

FAQs

Package last updated on 02 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc