Skip to main content

Quick and easy way to convert Github remote url's from HTTPSto SSH or vice versa

Project description

##Github-url-converter
Easily converts the remote URL in your repositories from HTTPS to SSH or vice-versa.
Hopefully saves you a few seconds every once in a while :)

##Usage
```
$ git remote -v
origin https://github.com/aeonaxan/demo (fetch)
origin https://github.com/aeonaxan/demo (push)

$ git convert origin ssh
Successfully changed origin URL to [git@github.com:aeonaxan/demo.git]

$ git remote -v
origin git@github.com:aeonaxan/demo.git (fetch)
origin git@github.com:aeonaxan/demo.git (push)

$ git convert origin https
Successfully changed origin URL to [https://github.com/aeonaxan/demo]
```

Note: Here convert is aliased to github-url-converter

##Installation
You can easily install with pip
```
pip install github-url-converter
````

Now you can use a git alias for github-url-converter so you dont have to type the whole thing again.
Github-url-converter will happily alias itself to `convert` for you

```
$ github-url-converter install
github-url-converter aliased to git convert
```

Now you can use use it as `git convert` in any git repository.

###Licence
MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Github-url-converter-0.0.2.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page