gh pr close <number | url | branch>

Close a pull request

Arguments

NameDescription
number | url | branch

Options

NameDescription
-d, --delete-branchDelete the local and remote branch after close