2.0.0 • Published 7 years ago
git-remote-to-ssh v2.0.0
git-remote-to-ssh
Automatically convert GitHub origin URLs to the ssh protocol
Install
npm i -g git-remote-to-ssh
Usage
This has been aliased as git-ssh
.
Usage
$ git-remote-to-ssh <input>
Options
-r, --remote Specify a different remote
Examples
$ git-remote-to-ssh
Remote origin: git@github.com:RichardLitt/git-remote-to-ssh.git
$ git-remote-to-ssh -r test
Remote test: git@github.com:RichardLitt/whatever.git
Contribute
Issues and PRs accepted.
License
MIT © Richard Littauer 2017
2.0.0
7 years ago