git-switch-protocol ~master

A git helper for easily switching from ssh to https remotes and back.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

git-switch-protocol

Analytics


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

$ 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 file for more information.

Donations

Would you like to buy me a beer? Send bitcoin to 3JjxJydvoJjTrhLL86LGMc8cNB16pTAF3y

Authors:
  • Pedro Tacla Yamada
Dependencies:
colorize
Versions:
0.0.4 2015-Feb-14
0.0.3 2014-Sep-11
0.0.2 2014-Sep-03
~master 2016-Feb-02
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 236 downloads total

Score:
0.4
Short URL:
git-switch-protocol.dub.pm