{"id":21323684,"url":"https://github.com/justinethier/git-mirror","last_synced_at":"2026-05-17T06:39:32.869Z","repository":{"id":136547200,"uuid":"503107821","full_name":"justinethier/git-mirror","owner":"justinethier","description":":mirror: Basic script to setup and sync a mirror of a git repository","archived":false,"fork":false,"pushed_at":"2022-08-19T14:29:03.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T22:36:12.367Z","etag":null,"topics":["git","git-lfs","mirror"],"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/justinethier.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":"2022-06-13T20:38:21.000Z","updated_at":"2022-06-20T20:54:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"612c3cdf-9452-4c1f-8055-f11718c448b2","html_url":"https://github.com/justinethier/git-mirror","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/justinethier/git-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinethier%2Fgit-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinethier%2Fgit-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinethier%2Fgit-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinethier%2Fgit-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinethier","download_url":"https://codeload.github.com/justinethier/git-mirror/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinethier%2Fgit-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017147,"owners_count":26085983,"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-10-13T02:00:06.723Z","response_time":61,"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":["git","git-lfs","mirror"],"created_at":"2024-11-21T20:26:17.365Z","updated_at":"2025-10-13T22:36:13.011Z","avatar_url":"https://github.com/justinethier.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Intro\n\nThis repository provides scripts to setup a basic, no-frills mirror of a git repository.\n\nIn general the `git-mirror` script will be used to create and work with your mirrors.\n\nFor repos using [Git LFS](https://git-lfs.github.com/) use `git-lfs-mirror`. This script supports the same commands as `git-mirror` and is a drop-in replacement. \n\n# Usage\n\nThe following commands are provided:\n\n## `init REMOTE_REPO SERVER`\n\nRun the init command to create the initial mirror of a repository, and push that mirror to the specified server.\n\nThis command will create a bare repository on your local machine. This is not suitable for check outs so once the repository is created you will probably want to delete the directory and check our your mirror again using the clone command.\n\nFor example:\n\n    git-mirror init https://github.com/justinethier/git-mirror.git git@github.com:your-account/test.git\n\n## `clone REMOTE_REPO SERVER`\n   \nClone will create a local clone of your mirrored repository and setup the local repository to track all upstream branches so we can sync them.\n\nFor example:\n\n    git-mirror clone https://github.com/justinethier/git-mirror.git git@github.com:your-account/test.git\n\n## `update`\n\nUpdate our mirrored repository with changes from upstream. This includes updates to all tracked branches.\n\nFor example:\n\n    git-mirror update\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinethier%2Fgit-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinethier%2Fgit-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinethier%2Fgit-mirror/lists"}