{"id":21327021,"url":"https://github.com/coderosh/git_config","last_synced_at":"2025-07-12T07:31:09.194Z","repository":{"id":57434494,"uuid":"379633608","full_name":"coderosh/git_config","owner":"coderosh","description":"Get local or global git config as a dictionary","archived":false,"fork":false,"pushed_at":"2021-06-23T15:59:11.000Z","size":4,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-10T09:17:12.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/coderosh.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}},"created_at":"2021-06-23T14:38:02.000Z","updated_at":"2023-03-08T23:25:12.000Z","dependencies_parsed_at":"2022-09-09T20:31:44.524Z","dependency_job_id":null,"html_url":"https://github.com/coderosh/git_config","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderosh%2Fgit_config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderosh%2Fgit_config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderosh%2Fgit_config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderosh%2Fgit_config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderosh","download_url":"https://codeload.github.com/coderosh/git_config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225802614,"owners_count":17526452,"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":[],"created_at":"2024-11-21T21:12:51.993Z","updated_at":"2024-11-21T21:12:52.626Z","avatar_url":"https://github.com/coderosh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git_config\n\n\u003e Get git config as a dictionary\n\n## Installation\n\n```sh\npip install git_config\n```\n\n## Usage\n\n```py\nfrom git_config import get_config\n\n# Global git config\nconfig = get_config()\nconfig[\"user\"][\"name\"] # Roshan Acharya\nconfig[\"user\"][\"email\"] # acharyaroshan2357@gmail.com\n\n# Local git config\nconfig = get_config(\"local\")\nconfig['remote \"origin\"'][\"url\"] # git@github.com:coderosh/git_config.git\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderosh%2Fgit_config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderosh%2Fgit_config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderosh%2Fgit_config/lists"}