{"id":20755236,"url":"https://github.com/marcxjo/git-profile-extension","last_synced_at":"2026-04-09T02:31:03.973Z","repository":{"id":248709636,"uuid":"829251675","full_name":"marcxjo/git-profile-extension","owner":"marcxjo","description":"Convenient management and runtime invocation of custom global Git configs","archived":false,"fork":false,"pushed_at":"2026-03-18T03:57:39.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-18T19:54:41.119Z","etag":null,"topics":["bash","bash-script","git","git-extension","git-plugin","shell-script"],"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/marcxjo.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-07-16T04:21:05.000Z","updated_at":"2026-03-18T03:57:43.000Z","dependencies_parsed_at":"2025-03-12T09:15:36.098Z","dependency_job_id":null,"html_url":"https://github.com/marcxjo/git-profile-extension","commit_stats":null,"previous_names":["marcxjo/git-profile","marcxjo/git-profile-extension"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcxjo/git-profile-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcxjo%2Fgit-profile-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcxjo%2Fgit-profile-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcxjo%2Fgit-profile-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcxjo%2Fgit-profile-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcxjo","download_url":"https://codeload.github.com/marcxjo/git-profile-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcxjo%2Fgit-profile-extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bash","bash-script","git","git-extension","git-plugin","shell-script"],"created_at":"2024-11-17T09:24:07.992Z","updated_at":"2026-04-09T02:31:03.949Z","avatar_url":"https://github.com/marcxjo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Git Profile Extension\n=\n\nConvenient management and runtime invocation of custom global Git configs\n-\n\n`git-profile` enables specifying the working global Git profile for the current\ncommand using idiomatic Git syntax. This is normally accomplished by specifying\nthe environment variable `GIT_CONFIG_GLOBAL`.\n\n* How do I use this extension?\n\nThe command's syntax is kept as simple as possible, offering only subcommands\nrequired to initialize and enable the use of custom profiles.\n\nUse\n\n```\ngit profile add\n```\nto create a new _empty_ profile (you'll need to add your own settings after\ncreation!).\n\nUse\n\n```\ngit profile PROFILE [git-commands]\n```\nto perform any standard Git operation using PROFILE as the global Git config.\n\nFor more on Git configuration scopes, see the [git-config manual](https://git-scm.com/docs/git-config#SCOPES).\n\n* How does this differ from using a structured repository workspace and\n`gitconfig`'s `includeIf` syntax?\n\nThis extension was developed with a workflow leveraging workspaces and\n`includeIf`s in mind. It _can_ provide an alternative solution, but also works\nwell as a compliment to the existing implementations.\n\nOne of the the main conveniences that `git-profile` provides in such a workflow,\nis the ability to perform scripted actions in response to Git operations\nutilizing custom configuration (such as hooks), even overriding a\nworkspace-specific static configuration. (This can be especially useful at clone\ntime if a repository has particularly custom setup needs.) A real life use case\ninvolves utilizing fzf to navigate directly to repository directories from\noutside of a given workspace, utilizing custom git properties. (There are many\nways to achieve this capability, but a git extension becomes handy in the event\nthat you manage multiple workspaces, e.g., personal and work projects.)\n\n* How does this plugin interact with other Git commands/extensions?\n\nThe intent is to enable chaining `git-profile` with all supported Git commands.\nThis may prove difficult for more complex or rigid extensions. A few\npreliminary (_non-comprehensive_) tests of `git-profile` in conjunction with\n[`git-flow`](https://github.com/petervanderdoes/gitflow-avh) have demonstrated\nexpected behavior.\n\n* What's on the roadmap?\n\nThe following:\n* Makefile support (e.g., to enable build-time configuration of script-internal\nvariables)\n* * I _may_ go with Meson support for easier maintainability, but that seems\nhard to justify for such a small project\n* `rm` command support\n* a `get` and `set` API for direct profile configuration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcxjo%2Fgit-profile-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcxjo%2Fgit-profile-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcxjo%2Fgit-profile-extension/lists"}