{"id":48690194,"url":"https://github.com/nuskey8/gitaccount","last_synced_at":"2026-04-11T05:01:00.418Z","repository":{"id":350471624,"uuid":"1206964870","full_name":"nuskey8/gitaccount","owner":"nuskey8","description":"A CLI tool to manage multiple git accounts","archived":false,"fork":false,"pushed_at":"2026-04-10T14:44:53.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-10T15:14:33.409Z","etag":null,"topics":["command-line-tool","git"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/nuskey8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-10T12:40:16.000Z","updated_at":"2026-04-10T14:44:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nuskey8/gitaccount","commit_stats":null,"previous_names":["nuskey8/gitaccount"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/nuskey8/gitaccount","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuskey8%2Fgitaccount","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuskey8%2Fgitaccount/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuskey8%2Fgitaccount/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuskey8%2Fgitaccount/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuskey8","download_url":"https://codeload.github.com/nuskey8/gitaccount/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuskey8%2Fgitaccount/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["command-line-tool","git"],"created_at":"2026-04-11T05:00:53.232Z","updated_at":"2026-04-11T05:01:00.407Z","avatar_url":"https://github.com/nuskey8.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitaccount\n \nA CLI tool to manage multiple git accounts\n\n[![Crates.io version](https://img.shields.io/crates/v/gitaccount.svg?style=flat-square)](https://crates.io/crates/zerompk)\n\n## Overview\n\ngitaccount is a CLI tool for managing the user names and email addresses configured in git config.\n\nWhen managing separate git accounts for work, university, or other purposes, there is a risk of committing with the wrong name or email address. gitaccount makes it possible to switch these settings with a single command.\n\n## Installation\n\nInstall the latest binary from [Releases](https://github.com/nuskey8/gitaccount/releases).\n\nYou can also install it via cargo.\n\n```bash\n$ cargo install gitaccount\n```\n\n## Quick Start\n\n1. Create an account\n  ```bash\n  $ gitaccount create\n  ✔ Profile name · foo\n  ✔ git user.name · foo\n  ✔ git user.email · foo@example.com\n    Success created account `foo`\n  ```\n\n2. Switch accounts\n  ```bash\n  $ git account switch foo\n    Switched `foo` account\n  \n  $ git config --global --get user.name\n  foo\n  $ git config --global --get user.email\n  foo@example.com\n  ```\n\n## Usage\n\n```\nUsage: gitaccount \u003cCOMMAND\u003e\n\nCommands:\n  create  Create a new account profile\n  edit    Edit an existing account profile\n  delete  Delete an account profile\n  switch  Switch git global config\n  list    List configured accounts\n  logout  Clear git global config\n  help    Print this message or the help of the given subcommand(s)\n\nOptions:\n  -h, --help  Print help\n```\n\n## .gitaccount\n\nThe created account data is saved in `~/.gitaccount` in TOML format.\n\n```toml\n[accounts.foo]\nname = \"foo\"\ngit_name = \"foo\"\nemail = \"foo@example.com\"\n\n[accounts.bar]\nname = \"bar\"\ngit_name = \"bar\"\nemail = \"bar@example.com\"\n```\n\n## License\n\nThis library is under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuskey8%2Fgitaccount","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuskey8%2Fgitaccount","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuskey8%2Fgitaccount/lists"}