This commit is contained in:
xiongxiao
2026-01-16 11:27:26 +08:00
parent f10f588ea5
commit a8f2cb14a7
2 changed files with 5 additions and 3 deletions

View File

@@ -9,11 +9,13 @@ description: 创建一个基本的新的代码仓库,并自动添加必要的
## 调用工具链
1. 执行`create-repo`工具
2. 添加.cnb.yml配置文件
1. 执行`create-repo`工具,参数是/group/repo_name例如 `kevisual/my-new-repo`
2. 工具会自动创建一个新的代码仓库
3. 创建完成后,地址就是这个 /group/repo_name例如 `kevisual/my-new-repo`
4. 添加.cnb.yml配置文件调用create-repo-file工具
### .cnb.yml配置文件内容示例
假设新仓库名称为 REPO_NAME,则
新仓库名称为 REPO_NAME(为其中的group/repo_name的repo_name部分)
TO_REPO 为 kevisual/REPO_NAME