{"id":18352241,"url":"https://github.com/xgames123/git-credential-github","last_synced_at":"2025-04-06T11:32:46.582Z","repository":{"id":177064466,"uuid":"644449386","full_name":"Xgames123/git-credential-github","owner":"Xgames123","description":"A simple git credentials helper for github (Way less bloated than git credentails manager)","archived":false,"fork":false,"pushed_at":"2024-04-13T13:24:09.000Z","size":440,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T22:22:23.752Z","etag":null,"topics":["gcm","gh-login","git","git-credential","git-credential-github","git-credential-helper","github"],"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/Xgames123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-05-23T14:36:38.000Z","updated_at":"2025-02-01T19:00:13.000Z","dependencies_parsed_at":"2024-03-29T17:25:13.918Z","dependency_job_id":"7961257e-c5d4-475d-8219-e6736431023d","html_url":"https://github.com/Xgames123/git-credential-github","commit_stats":{"total_commits":61,"total_committers":2,"mean_commits":30.5,"dds":"0.16393442622950816","last_synced_commit":"f59e4f585dc2411ea96d3320322972b94e5db98e"},"previous_names":["xgames123/gh-login","xgames123/git-credential-github"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xgames123%2Fgit-credential-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xgames123%2Fgit-credential-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xgames123%2Fgit-credential-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xgames123%2Fgit-credential-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xgames123","download_url":"https://codeload.github.com/Xgames123/git-credential-github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478152,"owners_count":20945258,"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":["gcm","gh-login","git","git-credential","git-credential-github","git-credential-helper","github"],"created_at":"2024-11-05T21:35:23.055Z","updated_at":"2025-04-06T11:32:46.157Z","avatar_url":"https://github.com/Xgames123.png","language":"Rust","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/Xgames123/git-credential-github/blob/main/logo.png?raw=true\" alt=\"logo\"/\u003e\n\u003c/p\u003e\n\nA simple git [credentials helper](https://git-scm.com/docs/gitcredentials) for GitHub\n\n![Screenshot of a device code request](example.png)\n\n# Features\n* Its way less bloated than [Git Credential Manager](https://github.blog/2022-04-07-git-credential-manager-authentication-for-everyone)\n* You can use it together with any other git credential helper of choice\n\n# Install\n\n## Debian/Ubuntu\nDownload the .deb from the [latest release](https://github.com/xgames123/git-credential-github/releases/latest) and run `dpkg -i file_you_just_downloaded.deb`\n\n## Arch linux\nInstall git-credential-github form the AUR. [ArchLinux wiki](https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages)\n\n# Configuring\nNOTE: Configuring changed after v2.2 [pre v2.2 config](PRE_v2_2_CONFIG.md)\n\n```~/.gitconfig```\n```ini\n[credential \"https://github.com\"]\n  helper = cache\n  helper = github # important that you put it last because we only need to run gcg when other helpers have failed to give credentials\n```\nThis sets the credential helper for github using the cache helper with a timeout of 1 day\n\n## More examples\n\n### Set only for repos owned by you\n```~/.gitconfig```\n```ini\n[credential]\n\tuseHttpPath = true # makes git give the whole path instead of just https://github.com\n[credential \"https://github.com/Xgames123\"] # change to your name\n  username=Xgames123 # change to your name\n  helper = cache\n  helper = github\n```\n\n### Use pass as the credential helper for everything\n```~/.gitconfig```\n```ini\n[credential]\n\tuseHttpPath = true # makes git give the whole path instead of just https://github.com\n    helper = pass -r 3 -t ~/.config/git-credential-pass/default.template -p git/{protocol}/{host}/main\n\n[credential \"https://github.com/Xgames123\"] # change to your name\n  username=Xgames123 # change to your name\n  helper = github\n\n[credential \"https://codeberg.org\"]\n  username=ldev\n```\n\n\n# Bug or Error\nIf you find a bug, get an error or the docs are wrong.\n* [Create an issue](https://github.com/Xgames123/git-credential-github/issues/new/)\n* Message me \u003c[ldev@ldev.eu.org](mailto://ldev@ldev.eu.org)\u003e\n* Message me on discord [ldev105](https://ldev.eu.org/socials/discord)\n\n\n# Building debian packages from source\n1. install [reltools](https://github.com/Xgames123/reltools)\n2. run makepkgx --pkgformat deb inside the packaging directory\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxgames123%2Fgit-credential-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxgames123%2Fgit-credential-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxgames123%2Fgit-credential-github/lists"}