New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bitbonsai/gitremote

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitbonsai/gitremote

Open gitlab/github/bitbucket in a browser from the console, using git remote as input

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

This is a small command line utility to open the current remote repository in a browser from the command line.

The idea is that you're in terminal, working on a repo, then just type gitlink and your default browser magically opens the gitlab/github/bitbucket... url.

If you're not on a git repo, there's a nice and color error message.

Tested on mac only, created in a few minutes in node after banging my head on the table trying to make it work on bash.

Installation

  1. Clone this repo somewhere in your computer: git clone https://github.com/bitbonsai/gitlink.git
  2. yarn link in the directory is the fastest/easiest way to install.
  3. npm link also works, if you're not into yarn.

Usage

Just go to a repo and type gitlink to open a browser window with the repo Or add part of a sha1 to it and open a single commit page: gitlink b844b99 (thanks for the idea, @ricardobeat)

FAQs

Package last updated on 15 Mar 2018

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