1.0.9 • Published 7 years ago

github-origin-https-to-ssh v1.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

github-origin-https-to-ssh

Automatically convert GitHub origin urls from https to ssh

This is an evil shell script that really ought to be done in Javascript with better checks.

Install

npm i -g github-origin-https-to-ssh

Usage

This has been aliased as https-to-ssh.

# In git repo with bad URL
$ https-to-ssh
## All fixed.

This also works for enterprise or non-GitHub git remotes.

$ https-to-ssh github.corporation.org
## All fixed for enterprise

Contribute

Issues and PRs accepted.

License

Shell script from: https://gist.github.com/m14t/3056747 MIT © Richard Littauer 2017

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago