{"id":16471948,"url":"https://github.com/abranhe/git-config-manager","last_synced_at":"2026-04-26T16:32:23.937Z","repository":{"id":170133362,"uuid":"646247039","full_name":"abranhe/git-config-manager","owner":"abranhe","description":"Manage your git config like a pro","archived":false,"fork":false,"pushed_at":"2023-05-27T19:14:12.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T02:10:45.990Z","etag":null,"topics":["git","git-profiles"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/abranhe.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}},"created_at":"2023-05-27T18:59:19.000Z","updated_at":"2024-12-10T06:56:53.000Z","dependencies_parsed_at":"2023-11-17T14:33:32.110Z","dependency_job_id":null,"html_url":"https://github.com/abranhe/git-config-manager","commit_stats":null,"previous_names":["abrahamcalf/git-config-manager","abrahamhba/git-config-manager","abranhe/git-config-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abranhe/git-config-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fgit-config-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fgit-config-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fgit-config-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fgit-config-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abranhe","download_url":"https://codeload.github.com/abranhe/git-config-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fgit-config-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32305035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: 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":["git","git-profiles"],"created_at":"2024-10-11T12:15:37.654Z","updated_at":"2026-04-26T16:32:23.921Z","avatar_url":"https://github.com/abranhe.png","language":"Rust","readme":"Work in progress\n\n# git-config-manager\n\n\u003e Manage your git config like a pro\n\n## About\n\nThis small tool allows you to have multiple git configurations. The main reason that I created this tool it wasn't to have multiple git configurations, but instead being able to store the configuration outside of the main `.gitconfig` file and being able to commit my global `.gitconfig` to my dotfiles repository.\n\n## How does it work?\n\nThis is where your configuration will be stored.\n\n```\n~\n├── .config\n│   └── git-config-manager\n│       ├── .gitconfig-main\n│       ├── .gitconfig-personal\n│       └── .gitconfig-work\n├── .gitconfig\n└── .vimrc\n```\n\nand your `.gitconfig` will look like this:\n\n```ini\n[include]\n    path = ~/.config/git-config-manager/.gitconfig-main\n\n[includeIf \"gitdir:~/dev/personal/\"]\n    path = ~/.config/git-config-manager/.gitconfig-personal\n\n[includeIf \"gitdir:~/dev/work/\"]\n    path = ~/.config/git-config-manager/.gitconfig-work\n```\n\nTo test that the correct profile is being used, navigate to one of your git repositories, for example:\n\n```bash\ncd ~/dev/personal/my-awesome-project\n```\n\n\u003e Note: You must be inside a git repository, and the `icludeIf` path must end on a `/`.\n\nand run:\n\n```bash\ngit config --get user.email\n```\n\nYou should get the email for that specific profile. Test it with multiple profiles.\n\n## Usage\n\n\u003e This still in development, so the usage might change.\n\n```bash\ngit-config-manager \u003cpath-to-config\u003e\n```\n\n## Using 1Password\n\nIf you are using 1Password, you can inject the credentials using the `op` cli. Make sure you have the `op` cli installed and you replace the `op` path with your own.\n\n```bash\nop inject -i ./example/config.op.json -o ./example/config.json\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fgit-config-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabranhe%2Fgit-config-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fgit-config-manager/lists"}