代码托管 CodeArts Repo-如何批量将本地仓库导入CodeArts Repo:开始批量迁移

时间:2025-02-12 14:55:34

开始批量迁移

  1. 执行如下命令,查看脚本参数。

    python migrate_to_repo.py -husage: 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