1GH-PR-CLOSE(1)                 GitHub CLI manual                GH-PR-CLOSE(1)
2
3
4

NAME

6       gh-pr-close - Close a pull request
7
8
9

SYNOPSIS

11       gh pr close {<number> | <url> | <branch>} [flags]
12
13
14

OPTIONS

16       -c, --comment <string>
17              Leave a closing comment
18
19
20       -d, --delete-branch
21              Delete the local and remote branch after close
22
23
24

OPTIONS INHERITED FROM PARENT COMMANDS

26       -R, --repo <[HOST/]OWNER/REPO>
27              Select another repository using the [HOST/]OWNER/REPO format
28
29
30

SEE ALSO

32       gh-pr(1)
33
34
35
36                                   Oct 2023                     GH-PR-CLOSE(1)
Impressum