代码托管 CODEARTS REPO-如何批量将本地仓库导入CodeArts Repo:开始批量迁移
时间:2025-05-22 08:11:38
开始批量迁移
- 执行如下命令,查看脚本参数。
python migrate_to_repo.py -h usage: migrate_to_repo.py [-h] [-p {SSH,HTTP,ssh,http}] [-m {API,FILE,api,file}] optional arguments: -h, --help show this help message and exit -p {SSH,HTTP,ssh,http}, --protocol {SSH,HTTP,ssh,http} protocol specified for clone or push -m {API,FILE,api,file}, --mode {API,FILE,api,file} import mode # 参数说明 # -p 协议,默认是SSH协议,可选为SSH/ssh/HTTP/http
support.huaweicloud.com/bestpractice-codeartsrepo/codeartsrepo_04_0006.html