{"id":20847461,"url":"https://github.com/paketo-buildpacks/git","last_synced_at":"2025-08-23T06:33:33.518Z","repository":{"id":37047699,"uuid":"355006858","full_name":"paketo-buildpacks/git","owner":"paketo-buildpacks","description":"Paketo Buildpack for Git","archived":false,"fork":false,"pushed_at":"2025-08-16T13:36:00.000Z","size":976,"stargazers_count":1,"open_issues_count":9,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-16T15:28:00.005Z","etag":null,"topics":["cnb","git"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paketo-buildpacks.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-04-06T00:11:55.000Z","updated_at":"2025-08-11T05:02:10.000Z","dependencies_parsed_at":"2024-01-18T17:25:02.233Z","dependency_job_id":"f721a9cc-325f-40b8-bf5e-acd1da074192","html_url":"https://github.com/paketo-buildpacks/git","commit_stats":{"total_commits":350,"total_committers":11,"mean_commits":"31.818181818181817","dds":"0.43999999999999995","last_synced_commit":"bfe34f286e9a9ccb5b3c809925601c2f768ae81d"},"previous_names":["paketo-community/git"],"tags_count":71,"template":false,"template_full_name":null,"purl":"pkg:github/paketo-buildpacks/git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paketo-buildpacks%2Fgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paketo-buildpacks%2Fgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paketo-buildpacks%2Fgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paketo-buildpacks%2Fgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paketo-buildpacks","download_url":"https://codeload.github.com/paketo-buildpacks/git/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paketo-buildpacks%2Fgit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745677,"owners_count":24813521,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"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":["cnb","git"],"created_at":"2024-11-18T02:20:44.780Z","updated_at":"2025-08-23T06:33:33.468Z","avatar_url":"https://github.com/paketo-buildpacks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paketo Buildpack for Git\nThe Paketo Buildpack for Git is a Cloud Native Buildpack that retrieves `git` metadata and performs `git` operations.\n\n## Behavior\nThis buildpack uses the `git` dependency off of the stack that it is running on top of. The Git buildpack will only participate if there is a valid `.git` directory in the application source directory or if there a `git-credentials` service bindings present.\n\nThe buildpack will do the following:\n\n- Sets the `REVISION` environment variable, which is the commitish of HEAD, to be available for the build processes of other buildpacks and in the final running image.\n- Sets the `org.opencontainers.image.revision` label with the same commitish as the `REVISION` environment variable.\n- Creates custom `git` credential managers if it is provided with credentials through a binding.\n\n## Bindings\nThe buildpack optionally accepts the following bindings:\n\n### Type: `git-credentials`\n|Key                   | Value   | Description\n|----------------------|---------|------------\n|`credentials` | `\u003cformated git credentials\u003e` | The credentials file should have the following format to conform with the [`git` credential structure](https://git-scm.com/docs/git-credential#IOFMT).\n|`context` (optional) | `\u003curl\u003e` |The context is an [optional pattern](https://git-scm.com/docs/gitcredentials#_credential_contexts) as defined by `git`. If a context is not provided then the credentials given in the binding will be the default credentials that `git` uses when authenticating. A given context can only be used once for any group of bindings, if a context is given by two separate bindings the build will fail.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaketo-buildpacks%2Fgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaketo-buildpacks%2Fgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaketo-buildpacks%2Fgit/lists"}