{"id":42017108,"url":"https://github.com/ackkerman/gh-sync","last_synced_at":"2026-01-26T03:16:32.471Z","repository":{"id":306019978,"uuid":"1020853447","full_name":"ackkerman/gh-sync","owner":"ackkerman","description":"Synchronize a subdirectory of your repository with an external repository using a simple GitHub CLI extension. gh-sync wraps git subtree so that you can easily pull and push changes while keeping track of the mapping in your Git configuration.","archived":false,"fork":false,"pushed_at":"2025-08-11T03:16:45.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-11T05:25:07.657Z","etag":null,"topics":["codex","git","github","github-cli-extension"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ackkerman.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,"zenodo":null}},"created_at":"2025-07-16T13:48:23.000Z","updated_at":"2025-08-11T03:16:15.000Z","dependencies_parsed_at":"2025-07-23T08:29:10.886Z","dependency_job_id":"744b5b2e-29b1-4797-8f25-8dd91e65776a","html_url":"https://github.com/ackkerman/gh-sync","commit_stats":null,"previous_names":["ackkerman/gh-sync"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ackkerman/gh-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fgh-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fgh-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fgh-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fgh-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ackkerman","download_url":"https://codeload.github.com/ackkerman/gh-sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackkerman%2Fgh-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28765577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T02:25:41.078Z","status":"ssl_error","status_checked_at":"2026-01-26T02:24:28.809Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["codex","git","github","github-cli-extension"],"created_at":"2026-01-26T03:16:31.847Z","updated_at":"2026-01-26T03:16:32.466Z","avatar_url":"https://github.com/ackkerman.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-sync\n\nSynchronize a subdirectory of your repository with an external repository using a simple GitHub CLI extension. gh-sync wraps `git subtree` so that you can easily pull and push changes while keeping track of the mapping in your Git configuration.\n\n## Features\n\n- **connect** – register a subdirectory ↔ remote URL mapping\n- **pull** – fetch from the remote and update the subtree (supports `-m` for merge message)\n- **push** – push local changes in the subtree back to the remote (supports `-m` for commit message)\n- **list** – show current mappings\n- **remove** – delete a mapping\n\nThese commands make it straightforward to synchronize only a portion of a large repository with another repository.\n\n## Installation\n\nInstall locally using Cargo:\n\n```bash\ncargo install --path .\n```\n\nOr install as a GitHub CLI extension:\n\n```bash\ngh extension install ackkerman/gh-sync\n```\n\n## Usage\n\n```bash\n# Register a mapping (once)\ngh sync connect web-app git@github.com:ackkerman/nlo.git --branch dev_ui\n\n# Pull updates from the remote (customize merge message with -m)\ngh sync pull web-app -m \"Update from remote\"\n\n# Push local changes back\ngh sync push web-app -m \"Sync subtree\"\n\n# View mappings\ngh sync list\n\n# Remove a mapping\ngh sync remove web-app\n```\n\nMappings are stored in your repository's Git configuration under the `gh-sync` prefix. Multiple subdirectories can be managed.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fackkerman%2Fgh-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fackkerman%2Fgh-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fackkerman%2Fgh-sync/lists"}