gh-pr-merge
Merge a GitHub pull request. tldr-pages
On several platforms
Several platforms
Merge the pull request associated with the current branch interactively
gh pr mergeIdentifyMerge the current branch into the specified pull request
gh pr merge pr_number --mergeIdentifySquash and merge a pull request, then delete the branch
gh pr merge pr_number --squash --delete-branchIdentifyRebase and merge
gh pr merge pr_number --rebaseIdentifyEnable auto-merge (squash)
gh pr merge pr_number --auto --squashIdentifyMerge with admin privileges (if allowed)
gh pr merge pr_number --adminIdentify