{"id":13673031,"url":"https://github.com/arshadkazmi42/flip-remote","last_synced_at":"2025-05-07T20:46:15.529Z","repository":{"id":51721079,"uuid":"166268121","full_name":"arshadkazmi42/flip-remote","owner":"arshadkazmi42","description":":octocat: Flip git remote config from https to ssh and reverse flip it","archived":false,"fork":false,"pushed_at":"2022-10-05T09:14:50.000Z","size":120,"stargazers_count":7,"open_issues_count":1,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T20:46:08.433Z","etag":null,"topics":["config","git","git-config","hacktoberfest","https","remote","ssh","ssh-keygen"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arshadkazmi42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"arshadkazmi42"}},"created_at":"2019-01-17T17:33:50.000Z","updated_at":"2024-12-08T22:04:50.000Z","dependencies_parsed_at":"2022-08-03T10:45:32.622Z","dependency_job_id":null,"html_url":"https://github.com/arshadkazmi42/flip-remote","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadkazmi42%2Fflip-remote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadkazmi42%2Fflip-remote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadkazmi42%2Fflip-remote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadkazmi42%2Fflip-remote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arshadkazmi42","download_url":"https://codeload.github.com/arshadkazmi42/flip-remote/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954144,"owners_count":21830895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","git","git-config","hacktoberfest","https","remote","ssh","ssh-keygen"],"created_at":"2024-08-02T10:00:22.617Z","updated_at":"2025-05-07T20:46:15.501Z","avatar_url":"https://github.com/arshadkazmi42.png","language":"JavaScript","funding_links":["https://github.com/sponsors/arshadkazmi42"],"categories":["CLI Tools"],"sub_categories":[],"readme":"# flip-remote :octocat:\n\n[![Build](https://github.com/arshadkazmi42/flip-remote/actions/workflows/nodejs.yml/badge.svg)](https://github.com/arshadkazmi42/flip-remote/actions/workflows/nodejs.yml)\n[![NPM Version](https://img.shields.io/npm/v/flip-remote.svg)](https://www.npmjs.com/package/flip-remote)\n[![NPM Downloads](https://img.shields.io/npm/dt/flip-remote.svg)](https://www.npmjs.com/package/flip-remote)\n[![Github Repo Size](https://img.shields.io/github/repo-size/arshadkazmi42/flip-remote.svg)](https://github.com/arshadkazmi42/flip-remote)\n[![LICENSE](https://img.shields.io/npm/l/flip-remote.svg)](https://github.com/arshadkazmi42/flip-remote/blob/master/LICENSE)\n[![Contributors](https://img.shields.io/github/contributors/arshadkazmi42/flip-remote.svg)](https://github.com/arshadkazmi42/flip-remote/graphs/contributors)\n[![Commit](https://img.shields.io/github/last-commit/arshadkazmi42/flip-remote.svg)](https://github.com/arshadkazmi42/flip-remote/commits/master)\n\nThis cli tool switches the http or https remote url to ssh url and vice versa inside git config.\n\nIt loads the git config from `.git/config` and checks what type of remote url its using (http, https or ssh).\n\nIf its using, http or https it will switch it to ssh and if its using ssh it will change it to https. \n\n\u003e Give us a :star: if you like our work :heart:\n\n## Install\n\n```\n$ npm i -g flip-remote\n```\n\n\u003e This should be installed globally\n\n## Usage\n\n- Navigate to a root directory of any github repository in you local machine and run the below command\n\n```javascript\n$ flipremote\n\n// Output\n// ✔ Github Remote Flipped\n```\n\n## Contributing\n\nWe are constantly working on improving this library and we need all the help we can get. \n\nYou can contribute to this project by giving [suggestions](https://github.com/arshadkazmi42/flip-remote/issues/new), fixing [open issues](https://github.com/arshadkazmi42/flip-remote/issues) or by implementing a new feature. \n\nRead our contributing [guide](CONTRIBUTING.md) on getting started with contribution\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshadkazmi42%2Fflip-remote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farshadkazmi42%2Fflip-remote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshadkazmi42%2Fflip-remote/lists"}