Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yamadapc/git-switch-protocol
A helper to easily switch a git repositories remotes from ssh to https and back.
https://github.com/yamadapc/git-switch-protocol
Last synced: about 1 month ago
JSON representation
A helper to easily switch a git repositories remotes from ssh to https and back.
- Host: GitHub
- URL: https://github.com/yamadapc/git-switch-protocol
- Owner: yamadapc
- License: gpl-3.0
- Created: 2014-09-02T22:41:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-02T17:50:54.000Z (almost 9 years ago)
- Last Synced: 2024-12-24T11:57:48.891Z (about 1 month ago)
- Language: D
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
git-switch-protocol
===================
[![Analytics](https://ga-beacon.appspot.com/UA-54450544-1/git-switch-protocol/README)](https://github.com/igrigorik/ga-beacon)
- - -
A helper to easily switch a git repositories remotes from `ssh` to `https` and
back. Useful for places where `ssh` is blocked (such as some mermaid
coffee-shops in São Paulo, as of recently). URLs starting with `git://` are also
supported.## Usage
```bash
$ git-switch-protocol -p https
Switching all remotes to `https`...
> git remote -v
Switching remote `origin` from `ssh` to `https`...
> git remote set-url origin https://github.com/yamadapc/pyjamas.git
Remote `bitbucket` is already using `https`. Skipping...
```## Installing
To install, either build it from source with `dub` and `dmd` (version 2.066 or
greater) or download a binary release from the releases section.## License
This code is licensed under the GPLv3 license. See the [LICENSE](/LICENSE) file
for more information.## Donations
Would you like to buy me a beer? Send bitcoin to 3JjxJydvoJjTrhLL86LGMc8cNB16pTAF3y