{"id":15016024,"url":"https://github.com/minecraftforge/gitpatcher","last_synced_at":"2025-10-06T14:31:22.666Z","repository":{"id":39670674,"uuid":"255739407","full_name":"MinecraftForge/gitpatcher","owner":"MinecraftForge","description":"A Gradle plugin to manage patches for Git repositories","archived":false,"fork":true,"pushed_at":"2022-09-23T03:35:55.000Z","size":305,"stargazers_count":6,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-01T09:01:30.967Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"CadixDev/gitpatcher","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MinecraftForge.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":"2020-04-14T22:14:38.000Z","updated_at":"2024-09-17T09:05:48.000Z","dependencies_parsed_at":"2023-01-17T21:32:07.658Z","dependency_job_id":null,"html_url":"https://github.com/MinecraftForge/gitpatcher","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinecraftForge%2Fgitpatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinecraftForge%2Fgitpatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinecraftForge%2Fgitpatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinecraftForge%2Fgitpatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MinecraftForge","download_url":"https://codeload.github.com/MinecraftForge/gitpatcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235531112,"owners_count":19004901,"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-09-24T19:48:17.926Z","updated_at":"2025-10-06T14:31:17.338Z","avatar_url":"https://github.com/MinecraftForge.png","language":"Groovy","readme":"# gitpatcher\ngitpatcher is a Gradle plugin that can manage patches for Git repositories for you ([example]). This is useful if you need a few smaller changes for a Git repository that can't be contributed upstream, but you still easily want to keep up to date with upstream.\ngitpatcher manages a local submodule as base, and applies patches from a configurable folder in an extra repository. A local Git installation on \nthe PATH is required for it to run.\n\n# Installation\n1. Add a submodule for the project you want to patch.\n2. Apply gitpatcher to your Gradle project:\n\n  ```gradle\n  plugins {\n      id 'net.minecrell.gitpatcher' version '0.9.0'\n  }\n  ```\n3. Configure gitpatcher:\n\n  ```gradle\n  patches {\n      // The submodule path you just created\n      submodule = 'upstream'\n      // The target folder for the patched repositories\n      target = file('target')\n      // The folder where the patches are saved\n      patches = file('patches')\n  }\n  ```\n4. That's it! Now you can initialize your repository (see below) and start making commits to it. Then just make the patches and you can apply it to the target repository as often as you want.\n\n# Tasks\n|Name|Description|\n|----|-----------|\n|`updateSubmodules`|Initializes the submodule and updates it if it is outdated.|\n|`applyPatches`|Initializes the target repository and applies the patches from the patch folder.|\n|`makePatches`|Creates or updates the patches in the patch folder.|\n\n[example]: https://github.com/LapisBlue/Pore/tree/master/patches\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminecraftforge%2Fgitpatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminecraftforge%2Fgitpatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminecraftforge%2Fgitpatcher/lists"}