Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/richardlitt/git-remote-to-ssh

Automatically convert GitHub origin urls from https to ssh
https://github.com/richardlitt/git-remote-to-ssh

cli gh git github https origin remotes ssh

Last synced: 3 days ago
JSON representation

Automatically convert GitHub origin urls from https to ssh

Awesome Lists containing this project

README

        

# 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`.

```sh
Usage
$ git-remote-to-ssh

Options
-r, --remote Specify a different remote

Examples
$ git-remote-to-ssh
Remote origin: [email protected]:RichardLitt/git-remote-to-ssh.git
$ git-remote-to-ssh -r test
Remote test: [email protected]:RichardLitt/whatever.git
```

## Contribute

Issues and PRs accepted.

## License

[MIT](LICENSE) © Richard Littauer 2017