chore: update
This commit is contained in:
9
SKILL.md
9
SKILL.md
@@ -26,34 +26,31 @@ npx spaceflow install
|
||||
### 审查一个文件
|
||||
|
||||
```bash
|
||||
npx spaceflow review -b main --head develop -f $CODE_PATH -v 1
|
||||
npx spaceflow review -b main --head develop -f $CODE_PATH
|
||||
```
|
||||
|
||||
- `$CODE_PATH`:需要检查的文件路径
|
||||
- `-b main`:指定基准分支
|
||||
- `-h develop`:指定目标分支
|
||||
- `-v 1`:打印过程
|
||||
|
||||
### 审查一个Commit
|
||||
|
||||
```bash
|
||||
npx spaceflow review -b main --head develop --commits $COMMIT_ID -v 1
|
||||
npx spaceflow review -b main --head develop --commits $COMMIT_ID
|
||||
```
|
||||
|
||||
- `$COMMIT_ID`:需要检查的Commit ID,可以是多个空格隔开
|
||||
- `-b main`:指定基准分支
|
||||
- `-h develop`:指定目标分支
|
||||
- `-v 1`:打印过程
|
||||
|
||||
### 审查两个分支的差异代码
|
||||
|
||||
```bash
|
||||
npx spaceflow review -b main --head develop -v 1
|
||||
npx spaceflow review -b main --head develop
|
||||
```
|
||||
|
||||
- `-b main`:指定基准分支
|
||||
- `-h develop`:指定目标分支
|
||||
- `-v 1`:打印过程
|
||||
|
||||
## 使用场景
|
||||
|
||||
|
||||
Reference in New Issue
Block a user