{"id":17968016,"url":"https://github.com/yixiaojiu/git-user-manager","last_synced_at":"2026-04-30T09:38:13.510Z","repository":{"id":224514887,"uuid":"763460378","full_name":"yixiaojiu/git-user-manager","owner":"yixiaojiu","description":"CLI tool for managing git config multiple users","archived":false,"fork":false,"pushed_at":"2024-08-08T08:28:16.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T19:48:00.060Z","etag":null,"topics":["cli","git","git-config","tools"],"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/yixiaojiu.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}},"created_at":"2024-02-26T10:39:19.000Z","updated_at":"2024-08-08T08:28:20.000Z","dependencies_parsed_at":"2024-02-26T11:55:24.369Z","dependency_job_id":"388cafa3-5dec-46c2-bfdd-a9c4af3f2739","html_url":"https://github.com/yixiaojiu/git-user-manager","commit_stats":null,"previous_names":["yixiaojiu/git-user-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yixiaojiu/git-user-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixiaojiu%2Fgit-user-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixiaojiu%2Fgit-user-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixiaojiu%2Fgit-user-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixiaojiu%2Fgit-user-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yixiaojiu","download_url":"https://codeload.github.com/yixiaojiu/git-user-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixiaojiu%2Fgit-user-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["cli","git","git-config","tools"],"created_at":"2024-10-29T14:10:31.618Z","updated_at":"2026-04-30T09:38:13.496Z","avatar_url":"https://github.com/yixiaojiu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git User Manager\n\nreference [lexmin0412/gcm.git](https://github.com/lexmin0412/gcm.git)\n\nWhen you develop for your company and your own projects, you need to switch `user.name` and `user.email` frequently.\n\nThis CLI tool is capable of managing the Git user configuration for multiple users efficiently, which will help a lot.\n\n## Install\n\n```sh\ncargo install --git https://github.com/yixiaojiu/git-user-manager\n```\n\n## Usage\n\n```\nUsage: gum \u003cCOMMAND\u003e\n\nCommands:\n  add     add user config\n  remove  use alias to remove a user config\n  list    list all user config\n  use     use alias to change git user config\n  include  conditional include, reference https://git-scm.com/docs/git-config#_conditional_includes\n  info     View git username and email configuration\n  help    Print this message or the help of the given subcommand(s)\n\nOptions:\n  -h, --help     Print help\n  -V, --version  Print version\n```\n\nFor example:\n\n```sh\n# add a user\n# alias: github\n# name: bar\n# email: foo@example.com\ngum add github bar foo@example.com\n\n# use github alias to change git user config\ngum use github\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyixiaojiu%2Fgit-user-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyixiaojiu%2Fgit-user-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyixiaojiu%2Fgit-user-manager/lists"}