{"id":16654157,"url":"https://github.com/letmefly666/anothergit","last_synced_at":"2026-03-17T07:38:54.207Z","repository":{"id":207488196,"uuid":"719125153","full_name":"LetMeFly666/AnotherGit","owner":"LetMeFly666","description":"Want to use 2 or more github accounts? Try it in Windows sandbox directly! | 想在一台电脑使用多个Github账户？AnotherGit能一键在Windows沙盒中启用另一用户。","archived":false,"fork":false,"pushed_at":"2023-11-16T02:58:02.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T00:57:49.121Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LetMeFly666.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":"2023-11-15T14:04:35.000Z","updated_at":"2023-11-16T02:52:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"43917442-5ad9-4e7c-924b-6d5745edde9d","html_url":"https://github.com/LetMeFly666/AnotherGit","commit_stats":null,"previous_names":["letmefly666/anothergit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LetMeFly666/AnotherGit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FAnotherGit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FAnotherGit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FAnotherGit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FAnotherGit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LetMeFly666","download_url":"https://codeload.github.com/LetMeFly666/AnotherGit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FAnotherGit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30617552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T04:46:40.957Z","status":"ssl_error","status_checked_at":"2026-03-17T04:46:32.538Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-12T09:48:54.261Z","updated_at":"2026-03-17T07:38:54.159Z","avatar_url":"https://github.com/LetMeFly666.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AnotherGit\n\nWant to use 2 or more github accounts? Try it in Windows sandbox directly! | 想在一台电脑使用多个Github账户？AnotherGit能一键在Windows沙盒中启用另一用户。\n\n## 前言\n\n这也许是一个很小众的需求：在一台(Windows)电脑上，使用不同的Github账号，进行commit并push到Github上。\n\n可以写脚本进行切换，操作完再切回来（后面可能写写）；也可以直接写个“脚本”，双击配置文件打开Windows自带的沙盒，开箱即用，沙盒中直接配置好了第二个Github账号的身份。\n\n## 使用方法\n\n1. 在Windows上启用Windows Sandbox（[参考链接](https://learn.microsoft.com/zh-cn/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-overview)）\n2. 将本仓库下载到本地，并修改```Codes/main.wsb```中的配置。包括：本仓库下载到的位置（第4行）、你宿主机上Git安装的位置（第9行）\n3. 修改```Codes/ToCopy/.gitconfig```中你的Github邮箱和用户名\n4. 将```Codes/ToCopy/.ssh```下的```id_rsa```和```id_rsa.pub```替换为具有Github操作权限的ssh key（[参考链接](https://docs.github.com/zh/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)）\n5. 双击```Codes/main.wsb```（选择“通过沙盒打开”）\n6. 在沙盒中进行地使用Git吧！身份已经切换为了新配置的Github用户，```git```也被添加到了环境变量中\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletmefly666%2Fanothergit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletmefly666%2Fanothergit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletmefly666%2Fanothergit/lists"}