{"id":13750121,"url":"https://github.com/huozhi/gitswitch","last_synced_at":"2025-05-08T00:29:16.275Z","repository":{"id":74389714,"uuid":"72992776","full_name":"huozhi/gitswitch","owner":"huozhi","description":"🆔 manage git user and email among repos easily","archived":false,"fork":false,"pushed_at":"2021-03-19T16:47:24.000Z","size":7,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-10T14:48:55.648Z","etag":null,"topics":["git","git-profiles","git-switch"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huozhi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-11-06T13:33:54.000Z","updated_at":"2024-08-24T05:38:49.000Z","dependencies_parsed_at":"2023-03-17T22:30:48.987Z","dependency_job_id":null,"html_url":"https://github.com/huozhi/gitswitch","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"2ec3d34a3ebc0be1c8786d467f851112e15c470a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huozhi%2Fgitswitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huozhi%2Fgitswitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huozhi%2Fgitswitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huozhi%2Fgitswitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huozhi","download_url":"https://codeload.github.com/huozhi/gitswitch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230859364,"owners_count":18291153,"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":["git","git-profiles","git-switch"],"created_at":"2024-08-03T08:00:21.905Z","updated_at":"2024-12-22T16:56:30.050Z","avatar_url":"https://github.com/huozhi.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"Git-Switch - git profile manager\n===\n\n## Install\n\n```\nnpm install -g gitswitch\n```\n\n## Usage\n\n\u003e gitswitch ls\n\n```\n$ gitswitch ls\n\ngithub\n - name: huozhi\n - email: huozhi@company.com\nwork\n - name: mr\n - email: mr@workspace.com\n```\n\n\u003e gitswitch add [alias] [name] [email]\n\n```\n$ gitswitch add github huozhi huozhi@company.com\n```\n\n\u003e gitswitch use [alias]\n\n```\n$ cd ~/workspace/your-repo\n$ gitswitch use github\n\n$ cat .git/config\n\n[user]\nname = huozhi\nemail = huozhi@company.com\n```\n\n\u003e gitswitch override [old email] [new name] [new email]\n\noverride git commit history of [old email] with name [new name] and email [new email]\n\n## LICENSE\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuozhi%2Fgitswitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuozhi%2Fgitswitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuozhi%2Fgitswitch/lists"}