{"id":26950266,"url":"https://github.com/dalee/git-mirror","last_synced_at":"2025-04-02T23:19:32.982Z","repository":{"id":64305837,"uuid":"104933322","full_name":"Dalee/git-mirror","owner":"Dalee","description":"Small and fast utility to mirror git repositories","archived":false,"fork":false,"pushed_at":"2019-01-15T20:08:24.000Z","size":13,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T15:26:33.158Z","etag":null,"topics":["git","git-mirror"],"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/Dalee.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":"2017-09-26T20:16:43.000Z","updated_at":"2023-04-29T01:52:05.000Z","dependencies_parsed_at":"2023-01-15T10:30:45.102Z","dependency_job_id":null,"html_url":"https://github.com/Dalee/git-mirror","commit_stats":null,"previous_names":["arkady-emelyanov/git-mirror"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fgit-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fgit-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fgit-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fgit-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dalee","download_url":"https://codeload.github.com/Dalee/git-mirror/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246906241,"owners_count":20852889,"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":["git","git-mirror"],"created_at":"2025-04-02T23:19:32.177Z","updated_at":"2025-04-02T23:19:32.974Z","avatar_url":"https://github.com/Dalee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast bulk git repository mirroring\n\n[![Build Status](https://travis-ci.org/Dalee/git-mirror.svg?branch=master)](https://travis-ci.org/Dalee/git-mirror)\n[![Go Report Card](https://goreportcard.com/badge/github.com/Dalee/git-mirror)](https://goreportcard.com/report/github.com/Dalee/git-mirror)\n\nSmall and fast utility to mirror git repositories.\n\n## Usage\n\nMake sure all repositories are reachable via `git` command-line utility\n\nCreate file `repository_list.json` with following content:\n```json\n[\n  {\n    \"server1\": \"git@server1.example.com:path/repo1.git\",\n    \"server2\": \"https://server2.example.com/another_path/repo1.git\"\n  },\n  {\n    \"server1\": \"git@server1.example.com:path/repo2.git\",\n    \"server2\": \"https://server2.example.com/another_path/repo2.git\"\n  }\n]\n```\n\nPerform mirroring:\n```bash\ngit-mirror \\\n    -cacheDir=/path/to/cache -concurrency=10 \\\n    repository_list.json \\\n    server1 server2\n```\n\nAll repositories from `server1` key, will be mirrored to repositories of `server2`.\n\nIf `cacheDir` is not provided, repositories will be cloned to a temporary location and \nwill be removed up after mirroring.\n\n`concurrency` flag allows to tune number of parallel workers.\n\n## License\n\nSoftware licensed under the [MIT License](http://www.opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalee%2Fgit-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalee%2Fgit-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalee%2Fgit-mirror/lists"}