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.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23d54cd20276ad383772d668c43989c76c464c9ddc870a651860c5d954492192 |
|
MD5 | 3e82df3c5bbf183826a560328be35e4c |
|
BLAKE2b-256 | d4c9c5f5deb44a03b55335df4dcf52f92cae049f56cbfea7f2ef4c5141586758 |