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
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
Close
Hashes for Github-url-converter-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405d2d33b2e768d96b57be53d0017d9f5ace090926a600611b748627103003ca |
|
MD5 | 6ca161c1f3efc53d623fe0f3720d9db1 |
|
BLAKE2b-256 | 7862da5fee6ee80923d2fefb25ba6612aee3fff39d5644a88ca4cb6a8f97f50e |