gh pr close

关闭拉取请求

gh pr close {<number> | <url> | <branch>} [flags]

Options

-d, --delete-branch
关闭 PR 之后,删除本地与远程的分支

Options inherited from parent commands

-R, --repo <[HOST/]OWNER/REPO>
使用 [HOST/]OWNER/REPO 格式,选择另一存储库

See also