1GH-PR-CLOSE(1) GitHub CLI manual GH-PR-CLOSE(1)
23
4
NAME
6gh-pr-close - Close a pull request
78
9
SYNOPSIS
11gh pr close {<number> | <url> | <branch>} [flags]
1213
14
OPTIONS
16-c, --comment <string>
17Leave a closing comment
1819
20
-d, --delete-branch
21Delete the local and remote branch after close
2223
24
OPTIONS INHERITED FROM PARENT COMMANDS
26-R, --repo <[HOST/]OWNER/REPO>
27Select another repository using the [HOST/]OWNER/REPO format
2829
30
SEE ALSO
32gh-pr(1)
3334
35
36
Jun 2022 GH-PR-CLOSE(1)