@cisdi/sync-repo

不同 gitlab 之间仓库同步工具

Usage no npm install needed!

<script type="module">
  import cisdiSyncRepo from 'https://cdn.skypack.dev/@cisdi/sync-repo';
</script>

README

Sync Repository

不同 gitlab 之间仓库同步工具

Usage

npx @cisdi/sync-repo --config ./config.json

Config

需在不同 gitlab 上创建名为 sync-repoaccess_token

{
  "source": {
    "host": "http://source",
    "token": "xxx"
  },
  "target": {
    "host": "http://target",
    "token": "xxxx"
  },
  "repositories": ["repo1", "repo2"]
}