Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/richardlitt/git-remote-to-ssh
- Owner: RichardLitt
- License: mit
- Created: 2016-09-23T18:03:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-13T17:11:37.000Z (over 7 years ago)
- Last Synced: 2024-12-26T11:10:48.562Z (6 days ago)
- Topics: cli, gh, git, github, https, origin, remotes, ssh
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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-sshOptions
-r, --remote Specify a different remoteExamples
$ 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