{"id":15113684,"url":"https://github.com/priest-2105/git-auth","last_synced_at":"2026-01-19T05:32:33.353Z","repository":{"id":256115138,"uuid":"854355320","full_name":"priest-2105/git-auth","owner":"priest-2105","description":"a script to easily authenticate git with github ","archived":false,"fork":false,"pushed_at":"2024-09-09T03:37:24.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T18:15:50.783Z","etag":null,"topics":["auth","authentication","authorization","bash","cli","git","gitauth","shell","ssh"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/priest-2105.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,"publiccode":null,"codemeta":null}},"created_at":"2024-09-09T02:43:42.000Z","updated_at":"2024-12-26T00:18:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"5023de21-d86d-486f-bb3a-6a769872d705","html_url":"https://github.com/priest-2105/git-auth","commit_stats":null,"previous_names":["priest-2105/git-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/priest-2105/git-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priest-2105%2Fgit-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priest-2105%2Fgit-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priest-2105%2Fgit-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priest-2105%2Fgit-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/priest-2105","download_url":"https://codeload.github.com/priest-2105/git-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priest-2105%2Fgit-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["auth","authentication","authorization","bash","cli","git","gitauth","shell","ssh"],"created_at":"2024-09-26T01:22:10.697Z","updated_at":"2026-01-19T05:32:33.338Z","avatar_url":"https://github.com/priest-2105.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Auth\n\nThis tool helps you easily switch between multiple GitHub accounts by automating login/logout using GitHub CLI and Git aliases.\n\n## Setup Instructions\n\nFollow these steps to set up the Git Auth on your system:\n\n### 1. Clone this repository:\n\nTo download the tool, clone the repository using the following command:\n\n```bash\ngit clone https://github.com/priest-2105/git-auth.git\n\n```\n\n\n## Run the setup script:\n\nNavigate to the cloned repository and execute the setup script to configure everything:\n\n```bash\n\ncd git-account-switcher\nbash setup.sh\n```\n\n\n## Use the following commands to switch accounts:\n\nOnce the setup is complete, you can use the following commands to switch between GitHub accounts:\n\nTo login \n\n```bash\ngit account-login\n```\n\nTo logout \n\n```bash\ngit account-logout\n```\n\n\nThis will use the GitHub CLI to prompt for a login (either via web or the CLI directly).\n\n\n## Requirements\n\n\nEnsure that the following are installed and available on your system:\n\nGit: The version control tool.\n\nGitHub CLI (gh): Required for handling GitHub account logins.\n\n\n## How It Works\n\nLogout: Removes GitHub credentials from the Windows Credential Manager (or system credential storage).\n\nLogin: Initiates the GitHub CLI login process, allowing you to sign in to a different account.\n\n\n## Issues and Contributions\n\nFeel free to open issues or contribute to the project by submitting pull requests. We welcome any feedback or improvements!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriest-2105%2Fgit-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpriest-2105%2Fgit-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriest-2105%2Fgit-auth/lists"}