update readme
This commit is contained in:
parent
9a190e4720
commit
bd4877cac2
14
README.md
14
README.md
|
@ -165,10 +165,10 @@ Flags:
|
||||||
![img.png](doc/images/gitee_pr.gif)
|
![img.png](doc/images/gitee_pr.gif)
|
||||||
- 根据 commit 找到对应的被合入至当前分支的 Pull Request `gitee pr list -c <commit>`
|
- 根据 commit 找到对应的被合入至当前分支的 Pull Request `gitee pr list -c <commit>`
|
||||||
```shell
|
```shell
|
||||||
➜ ~ gitee pr -c "80b4ef95c0d"
|
➜ ~ gitee pr list -c "80b4ef95c0d"
|
||||||
请在仓库目录下执行该命令!
|
请在仓库目录下执行该命令!
|
||||||
➜ ~ cd /home/git/gitee
|
➜ ~ cd /home/git/gitee
|
||||||
➜ gitee (master) ✔ gitee pr -c "80b4ef95c0d"
|
➜ gitee (master) ✔ gitee pr list -c "80b4ef95c0d"
|
||||||
该 commit 由 PR: 「修改仓库模糊查询,支持namespace级联查询,修复全英文字符查询时只匹配path问题」 合入,访问地址: https://gitee.com/hightest/settings/pulls19977
|
该 commit 由 PR: 「修改仓库模糊查询,支持namespace级联查询,修复全英文字符查询时只匹配path问题」 合入,访问地址: https://gitee.com/hightest/settings/pulls19977
|
||||||
```
|
```
|
||||||
- 创建 pull_request
|
- 创建 pull_request
|
||||||
|
@ -184,6 +184,16 @@ Flags:
|
||||||
➜ gitee (master) ✔ gitee pr note -i 19995 /approve
|
➜ gitee (master) ✔ gitee pr note -i 19995 /approve
|
||||||
评论成功!
|
评论成功!
|
||||||
```
|
```
|
||||||
|
- 评审通过 Pull Request
|
||||||
|
```shell
|
||||||
|
➜ gitee (master) ✔ gitee pr review 19995
|
||||||
|
审查通过🏅
|
||||||
|
```
|
||||||
|
- 关闭 Pull Request
|
||||||
|
```shell
|
||||||
|
➜ gitee (master) ✔ gitee pr close 19995
|
||||||
|
关闭 PR 成功🏅
|
||||||
|
```
|
||||||
|
|
||||||
### Issue 相关
|
### Issue 相关
|
||||||
- 创建 issue
|
- 创建 issue
|
||||||
|
|
|
@ -328,5 +328,5 @@ func Review(iid string) {
|
||||||
color.Red("审查通过失败!")
|
color.Red("审查通过失败!")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
color.Green("审查通过成功🏅")
|
color.Green("审查通过🏅")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue