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

git-open

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-open - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

yarn-error.log

2

package.json
{
"name": "git-open",
"version": "1.4.0",
"version": "1.5.0",
"description": "Type `git open` to open the GitHub/GitLab/Bitbucket homepage for a repository.",

@@ -5,0 +5,0 @@ "author": "Paul Irish (http://paulirish.com/)",

@@ -11,2 +11,3 @@ # git-open [![Build Status](https://img.shields.io/travis/paulirish/git-open/master.svg)](https://travis-ci.org/paulirish/git-open)

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

@@ -21,18 +22,18 @@ ```

$ git open
# opens https://github.com/REMOTE_ORIGIN_USER/CURRENT_REPO/tree/CURRENT_BRANCH
# opens https://github.com/TRACKED_REMOTE_USER/CURRENT_REPO/tree/CURRENT_BRANCH
$ git open upstream
# opens https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/tree/CURRENT_BRANCH
$ git open someremote
# opens https://github.com/PROVIDED_REMOTE_USER/CURRENT_REPO/tree/CURRENT_BRANCH
$ git open upstream master
# opens https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/tree/master
$ git open someremote somebranch
# opens https://github.com/PROVIDED_REMOTE_USER/CURRENT_REPO/tree/PROVIDED_BRANCH
$ git open issue
# If branches use naming convention of issues/#123,
# opens https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/issues/123
# opens https://github.com/TRACKED_REMOTE_USER/CURRENT_REPO/issues/123
```
### Installation
## Installation
#### Without using a framework
### Basic install

@@ -43,3 +44,3 @@ The preferred way of installation is to simply add the `git-open` script

You can use also `npm` to install this package:
### Install via NPM:

@@ -50,3 +51,3 @@ ```sh

#### Using Windows Powershell
### Windows Powershell

@@ -61,9 +62,9 @@ Save git-open anywhere, say as ~/Documents/Scripts/git-open.sh and define

#### Using Windows with `cmd` terminal
### Windows with `cmd` terminal
Save the `git-open` script in any place accessible via your `%PATH%` environment var.
#### Using a ZSH Framework
### ZSH
##### [Antigen](https://github.com/zsh-users/antigen)
#### [Antigen](https://github.com/zsh-users/antigen)

@@ -78,3 +79,3 @@ Add `antigen bundle paulirish/git-open` to your `.zshrc` with your other bundle

##### [Oh-My-Zsh](http://ohmyz.sh/)
#### [Oh-My-Zsh](http://ohmyz.sh/)

@@ -86,3 +87,3 @@ 1. `cd ~/.oh-my-zsh/custom/plugins`

##### [Zgen](https://github.com/tarjoilija/zgen)
#### [Zgen](https://github.com/tarjoilija/zgen)

@@ -94,7 +95,7 @@ Add `zgen load paulirish/git-open` to your .zshrc file in the same function

##### [zplug](https://github.com/zplug/zplug)
#### [zplug](https://github.com/zplug/zplug)
`zplug "paulirish/git-open", as:plugin`
### Supported remote repositories
## Supported remote repositories

@@ -111,3 +112,3 @@ git-open can automatically guess the corresponding repository page for remotes

#### GitLab support
### GitLab support

@@ -114,0 +115,0 @@ To configure GitLab support you need to set some options.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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