.nh .TH "GH-PR-CLOSE" "1" "Oct 2022" "" "GitHub CLI manual" .SH NAME .PP gh-pr-close - Close a pull request .SH SYNOPSIS .PP \fB\fCgh pr close { | | } [flags]\fR .SH OPTIONS .TP \fB\fC-c\fR, \fB\fC--comment\fR \fB\fC\fR Leave a closing comment .TP \fB\fC-d\fR, \fB\fC--delete-branch\fR Delete the local and remote branch after close .SH OPTIONS INHERITED FROM PARENT COMMANDS .TP \fB\fC-R\fR, \fB\fC--repo\fR \fB\fC<[HOST/]OWNER/REPO>\fR Select another repository using the [HOST/]OWNER/REPO format .SH SEE ALSO .PP \fB\fCgh-pr(1)\fR