{"id":15435897,"url":"https://github.com/uetchy/git-account","last_synced_at":"2025-04-19T18:22:51.082Z","repository":{"id":23584429,"uuid":"26952756","full_name":"uetchy/git-account","owner":"uetchy","description":"git account manager.","archived":false,"fork":false,"pushed_at":"2021-05-31T07:13:47.000Z","size":434,"stargazers_count":30,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-21T21:51:16.410Z","etag":null,"topics":["credentials","git"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/uetchy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-21T08:54:23.000Z","updated_at":"2024-05-24T11:09:31.000Z","dependencies_parsed_at":"2022-08-25T14:11:10.673Z","dependency_job_id":null,"html_url":"https://github.com/uetchy/git-account","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uetchy%2Fgit-account","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uetchy%2Fgit-account/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uetchy%2Fgit-account/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uetchy%2Fgit-account/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uetchy","download_url":"https://codeload.github.com/uetchy/git-account/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241552040,"owners_count":19981072,"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":["credentials","git"],"created_at":"2024-10-01T18:46:49.455Z","updated_at":"2025-03-02T18:32:30.729Z","avatar_url":"https://github.com/uetchy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-account\n\n[![npm-version]][npm-url]\n[![npm-downloads]][npm-url]\n[![Build Status](https://travis-ci.com/uetchy/git-account.svg?branch=master)](https://travis-ci.org/uetchy/git-account)\n[![Coverage Status](https://coveralls.io/repos/github/uetchy/git-account/badge.svg?branch=master)](https://coveralls.io/github/uetchy/git-account?branch=master)\n\n[npm-url]: https://npmjs.org/package/git-account\n[npm-version]: https://badgen.net/npm/v/git-account\n[npm-downloads]: https://badgen.net/npm/dt/git-account\n\n`git-account` adds user management feature to `git`. It makes you able to change **user.name**, **user.email** and **private key** at ease.\n\n## Installation\n\n```\nnpm i -g git-account\n```\n\n## Usage\n\n```\n$ git account \u003ccommand\u003e [\u003cargs\u003e]\n```\n\n## Real world example\n\n```console\n$ git account add\n? ID uetchy\n? Name Yasuaki Uechi\n? Email y@uechi.io\n? Private Key /Users/uetchy/.ssh/id_rsa\nUser created\nKEY        VALUE\nid         uetchy\nname       Yasuaki Uechi\nemail      y@uechi.io\nprivateKey /Users/uetchy/.ssh/id_rsa\n\n$ git account switch\n? choose one Yasuaki Uechi \u003cy@uechi.io\u003e\nSwitched\n\n$ git account status\nKEY        VALUE\nname       Yasuaki Uechi\nemail      y@uechi.io\nprivateKey /Users/uetchy/.ssh/id_rsa\n```\n\nAll config will be saved to `~/.git-account`\n\n## Commands\n\n```console\nstatus         Show current status\nlist           List users\nswitch [name]  Switch user\nexec           Run command\nadd            Add user\nremove         Remove user\nhelp [cmd]     display help for [cmd]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuetchy%2Fgit-account","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuetchy%2Fgit-account","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuetchy%2Fgit-account/lists"}