{"id":16191187,"url":"https://github.com/simonbaeumer/sync-monorepo","last_synced_at":"2025-11-11T22:08:53.594Z","repository":{"id":122783192,"uuid":"181638673","full_name":"SimonBaeumer/sync-monorepo","owner":"SimonBaeumer","description":"Sync a monolithic repository into standalone subtree repositories.","archived":false,"fork":false,"pushed_at":"2019-11-13T12:57:40.000Z","size":31,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T15:11:08.578Z","etag":null,"topics":["git","monorepo","splitsh","subtree-split"],"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/SimonBaeumer.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":"2019-04-16T07:34:43.000Z","updated_at":"2023-11-05T11:36:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"27935c2c-34b4-4733-9364-dbd19bb17ce7","html_url":"https://github.com/SimonBaeumer/sync-monorepo","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonBaeumer%2Fsync-monorepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonBaeumer%2Fsync-monorepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonBaeumer%2Fsync-monorepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonBaeumer%2Fsync-monorepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonBaeumer","download_url":"https://codeload.github.com/SimonBaeumer/sync-monorepo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243965714,"owners_count":20375920,"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","monorepo","splitsh","subtree-split"],"created_at":"2024-10-10T07:45:16.655Z","updated_at":"2025-11-11T22:08:53.533Z","avatar_url":"https://github.com/SimonBaeumer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/SimonBaeumer/sync-monorepo.svg?branch=master)](https://travis-ci.org/SimonBaeumer/sync-monorepo)\n\n# Syncing monorepo into subtree repositories\n\nSync a monolithic repository into multiple standalone subtree repositories.\n\n## Dependencies\n\n- bash\n- git\n- [splitsh-lite](https://github.com/splitsh/lite)\n\n## Usage\n\n```bash\n./sync.sh [branch] [origin] [path-to-repos]\n```\n\n## Example\n\n`$ ./sync.sh master git@github.com:SimonBaeumer/sync-monorepo.git repos`\n\n### Terminal\n\n```bash\n./sync.sh master git@github.com:SimonBaeumer repos/\n```\n\n**Note:** `git rev-parse --abbrev-ref HEAD` returns the current branch\n\n### Travis\n\n### Create ssh-keys\n\n1. `ssh-keygen -t rsa -b 4096 -C \"\u003cyour_email\u003e\" -f github_deploy_key -N ''`\n2. Add the `github_deploy_key.pub` with `write_access` as a deploy key to your synced repo\n3. Add the `github_deploy_key` as an encrypted environment variable to your monorepo ([tutorial](https://github.com/alrra/travis-scripts/blob/master/docs/github-deploy-keys.md))\n\nHowever, there is an \"issue\" with travis that you need a new deploy key for every repository you want to sync.\n\n### GitLab\n\nto be done","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonbaeumer%2Fsync-monorepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonbaeumer%2Fsync-monorepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonbaeumer%2Fsync-monorepo/lists"}