gh issue pin
gh issue pin {<number> | <url>}
将问题固定到存储库。
可以通过问题编号或 URL 指定问题。
从父命令继承的选项
-R
,--repo <[HOST/]OWNER/REPO>
- 使用 [HOST/]OWNER/REPO 格式选择另一个存储库
示例
# Pin an issue to the current repository
$ gh issue pin 23
# Pin an issue by URL
$ gh issue pin https://github.com/owner/repo/issues/23
# Pin an issue to specific repository
$ gh issue pin 23 --repo owner/repo