{"id":16751699,"url":"https://github.com/lq782655835/git-sync-tool","last_synced_at":"2026-05-11T03:50:52.100Z","repository":{"id":53242012,"uuid":"270575885","full_name":"lq782655835/git-sync-tool","owner":"lq782655835","description":"git同步工具","archived":false,"fork":false,"pushed_at":"2021-04-01T01:55:43.000Z","size":13,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T17:44:56.134Z","etag":null,"topics":["git","nodejs","sync"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lq782655835.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}},"created_at":"2020-06-08T07:39:57.000Z","updated_at":"2020-06-08T08:01:50.000Z","dependencies_parsed_at":"2022-08-19T19:31:10.863Z","dependency_job_id":null,"html_url":"https://github.com/lq782655835/git-sync-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lq782655835%2Fgit-sync-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lq782655835%2Fgit-sync-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lq782655835%2Fgit-sync-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lq782655835%2Fgit-sync-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lq782655835","download_url":"https://codeload.github.com/lq782655835/git-sync-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826784,"owners_count":20354222,"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","nodejs","sync"],"created_at":"2024-10-13T02:44:39.519Z","updated_at":"2026-05-11T03:50:47.069Z","avatar_url":"https://github.com/lq782655835.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-sync-tool\n\n将vue-cli项目打包后的静态文件，发布到指定egg项目下\n\n## 安装\n\n```\nyarn add git-sync-tool -D\n```\n\n## 使用方式\n\n```\n// in package.json\n\"scripts\": {\n    \"deploy-dev\": \"git-sync --branch=develop --dist ./docs/.vuepress/dist\"\n  },\n\"git-sync\": {\n    \"target\": \"egg-project-url.git\"\n}\n```\n\n### 参数说明\n\n`--branch`: 指定egg项目的目标分支\n\n`--dist`: vue-cli项目的静态文件地址，相对路径，默认是'dist'\n\n\u003e 注意：egg项目需要ssh权限\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flq782655835%2Fgit-sync-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flq782655835%2Fgit-sync-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flq782655835%2Fgit-sync-tool/lists"}