{"id":16825078,"url":"https://github.com/max-wittig/gl-file-replacer","last_synced_at":"2026-05-20T03:31:49.808Z","repository":{"id":83679502,"uuid":"441869415","full_name":"max-wittig/gl-file-replacer","owner":"max-wittig","description":"Mirror of https://gitlab.com/max-wittig/gl-file-replacer","archived":false,"fork":false,"pushed_at":"2021-12-26T11:01:17.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-24T05:41:40.514Z","etag":null,"topics":["gitlab","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/max-wittig.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-26T11:01:07.000Z","updated_at":"2022-02-21T14:53:42.000Z","dependencies_parsed_at":"2023-07-01T17:16:07.724Z","dependency_job_id":null,"html_url":"https://github.com/max-wittig/gl-file-replacer","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/max-wittig%2Fgl-file-replacer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-wittig%2Fgl-file-replacer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-wittig%2Fgl-file-replacer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-wittig%2Fgl-file-replacer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-wittig","download_url":"https://codeload.github.com/max-wittig/gl-file-replacer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244089176,"owners_count":20396219,"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":["gitlab","golang"],"created_at":"2024-10-13T11:12:50.496Z","updated_at":"2026-05-20T03:31:44.779Z","avatar_url":"https://github.com/max-wittig.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gl-file-replacer\n\nTool to replace files in repositories in Gitlab via the merge request flow.\n\nCan be used to automate the file replacements in many repositories.\n\n## Usage\n\n```\nUsage of ./gl-file-replacer:\n  -branch string\n        The branch name to use. Optional. Defaults to refactor-change-file-\u003cfilename\u003e\n  -file string\n        Specify the location of the local file\n  -force\n        Force branch creation\n  -m string\n        The commit message\n  -repo string\n        The location of the GitLab repo. E.g. 'gitlab-org/gitlab'\n  -repo-file string\n        The repository file to replace\n```\n\n### Example to replace the README.md in the repository with a local one\n\n```sh\ngl-file-replacer -repo max-wittig/gl-file-replacer -repo-file README.md -file ../other-repo/README.md -m \"chore: update readme\"\n```\n\n### Build\n\nInstall on your platform\n\n```sh\nmake install\n```\n\nBuild for all available platforms\n\n```sh\nmake build-all\n```\n\n## Planned features\n\n* Regex file replace mode\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-wittig%2Fgl-file-replacer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-wittig%2Fgl-file-replacer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-wittig%2Fgl-file-replacer/lists"}