1.0.7 • Published 5 years ago
gitlab-batch v1.0.7
功能
- 从 gitlab 上批量 clone 项目到本地。
- 从本地批量 push 项目到 gitlab
配置文件 ./src/config.ts
配置节点 gitlab.list 设置所有需要 clone/push 的项目
批量 clone
配置文件:
src/config.tsworkPath设为工作目录gitlab.host设为 gitlab 的地址http://192.168.0.19。centos 上 为http://heifade:es6RZaeRVm5bRkZax1Ps@192.168.0.19
运行下面命令进行 clone
yarn clone-debug批量 push
配置文件:
src/config.tsworkPath设为 工作目录gitlab.host设为 gitlab 的地址http://192.168.0.19
运行下面命令进行 push
yarn push-debug