flip-remote

1.3.2 • Public • Published

flip-remote :octocat:

Build Github Repo Size LICENSE NPM Downloads NPM Version Contributors Commit

This cli tool switches the http or https remote url to ssh url and vice versa inside git config.

It loads the git config from .git/config and checks what type of remote url its using (http, https or ssh).

If its using, http or https it will switch it to ssh and if its using ssh it will change it to https.

Give us a if you like our work ❤️

Install

$ npm i -g flip-remote

This should be installed globally

Usage

  • Navigate to a root directory of any github repository in you local machine and run the below command
$ flipremote

// Output
// ✔ Github Remote Flipped

Contributing

We are constantly working on improving this library and we need all the help we can get.

You can contribute to this project by giving suggestions, fixing open issues or by implementing a new feature.

Read our contributing guide on getting started with contribution

Contributors

Thank you to all the contributors who help in making this project better 🙌

Dependents (0)

Package Sidebar

Install

npm i flip-remote

Weekly Downloads

7

Version

1.3.2

License

MIT

Unpacked Size

9.24 kB

Total Files

12

Last publish

Collaborators

  • arshadkazmi42