git-remote-to-ssh

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i git-remote-to-ssh

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • richardlitt