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.1.1 to 1.2.0

2

package.json
{
"name": "git-open",
"version": "1.1.1",
"version": "1.2.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/)",

# git-open
Type `git open` to open the repo website (Github, Gitlab, Bitbucket) in your browser.
Type `git open` to open the repo website (GitHub, GitLab, Bitbucket) in your browser.

@@ -11,6 +11,6 @@ ![git open2015-01-24 13_51_18](https://cloud.githubusercontent.com/assets/39191/5889192/244a0b72-a3d0-11e4-8ab9-55fc64228aaa.gif)

git open [remote-name] [branch-name]
git open issue
git open issue
```
(`git open` works with these [hosted repo providers](#supported-remote-repositories), `git open issue` currently only works with Github)
(`git open` works with these [hosted repo providers](#supported-remote-repositories), `git open issue` currently only works with GitHub)

@@ -30,3 +30,3 @@ ### Examples

$ git open issue
# If branches use naming convention of issues/#123,
# If branches use naming convention of issues/#123,
# opens https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/issues/123

@@ -97,13 +97,21 @@ ```

- gitlab.com
- Gitlab custom hosted (see below)
- GitLab custom hosted (see below)
- bitbucket.org
- Atlassian Bitbucket Server (formerly _Atlassian Stash_)
#### Gitlab support
#### GitLab support
To configure gitlab support you need to set `gitopen.gitlab.domain`:
To configure GitLab support you need to set some options.
| option name | description | example |
| ------------------------- | ---------------------------------------------------------- | ------------------ |
| gitopen.gitlab.domain | The (web)domain name that will work for most of the people | gitlab.example.com |
| gitopen.gitlab.ssh.domain | A specific ssh domain name, *if needed* | git.example.com |
| gitopen.gitlab.ssh.port | A specific ssh port, *if needed* | 10022 |
```sh
# use --global to set across all repos, instead of just the local one
git config [--global] gitopen.gitlab.domain [yourdomain.here]
git config [--global] gitopen.gitlab.domain [value]
git config [--global] gitopen.gitlab.ssh.domain [value]
git config [--global] gitopen.gitlab.ssh.port [value]
```

@@ -110,0 +118,0 @@

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