{"id":17031319,"url":"https://github.com/lgg/simple-git-mirror-sync","last_synced_at":"2026-04-13T20:02:01.864Z","repository":{"id":151138583,"uuid":"272287663","full_name":"lgg/simple-git-mirror-sync","owner":"lgg","description":"Very simple script for syncing source to target git repo","archived":false,"fork":false,"pushed_at":"2020-09-15T23:44:40.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T20:46:00.188Z","etag":null,"topics":["git","git-mirror","git-sync","github","gitlab","gitlab-sync","mirror","sync","sync-git","sync-repo","synchronization"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/lgg.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":"2020-06-14T21:38:49.000Z","updated_at":"2021-12-10T01:14:57.000Z","dependencies_parsed_at":"2024-03-09T04:46:31.216Z","dependency_job_id":null,"html_url":"https://github.com/lgg/simple-git-mirror-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lgg/simple-git-mirror-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgg%2Fsimple-git-mirror-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgg%2Fsimple-git-mirror-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgg%2Fsimple-git-mirror-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgg%2Fsimple-git-mirror-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lgg","download_url":"https://codeload.github.com/lgg/simple-git-mirror-sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgg%2Fsimple-git-mirror-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-mirror","git-sync","github","gitlab","gitlab-sync","mirror","sync","sync-git","sync-repo","synchronization"],"created_at":"2024-10-14T08:23:42.125Z","updated_at":"2026-04-13T20:02:01.848Z","avatar_url":"https://github.com/lgg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple git sync\n\nThis script simply sync git repo from `source` to `target`\n\n**It works only with ssh@git**\n\n**https:// not supported now**\n\n## SSH keys\n\nIt uses` id_ed25519` SSH keys from [.ssh](./.ssh) folder to run on server with crontab\n\n## Usage\n\nScript works only with `git@ssh` url, `https://` doesn't work\n\nInstall requirements and add SSH keys:\n* `./install.sh`\n\nManually run:\n* `./sync.sh git@source git@target`\n\nRun with config (don't forget to edit `config.conf` for your needs, [check example](./config-sample.conf)):\n* `./sync.sh -c`\n\nConfig example:\n```\nsourceRepo1 targetRepo1\nsourceRepo1 targetRepo2\nsourceRepo3 targetRepo3\n```\n\nYou set source git repo _space_ target git repo\n\n### Run with crontab\n\n* `crontab -e`\n* `* */6 * * * /bin/bash /var/git/simple-git-mirror-sync/sync.sh -c \u003e/dev/null 2\u003e\u00261`\n    * `/bin/bash` - path to `bash` on your server, you can check it with `which bash` on your server\n    * `/var/git/simple-git-mirror-sync/sync.sh` - full path to this script\n\n## License\n\n* Contributing are welcome!\n* [MIT](./LICENSE)\n* [lgg](https://github.com/lgg), 2020\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgg%2Fsimple-git-mirror-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flgg%2Fsimple-git-mirror-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgg%2Fsimple-git-mirror-sync/lists"}