CmdID

CmdID / Commands

gh-pr-merge

Merge a GitHub pull request. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Merge the pull request associated with the current branch interactively

gh pr mergeIdentify

Merge the current branch into the specified pull request

gh pr merge pr_number --mergeIdentify

Squash and merge a pull request, then delete the branch

gh pr merge pr_number --squash --delete-branchIdentify

Rebase and merge

gh pr merge pr_number --rebaseIdentify

Enable auto-merge (squash)

gh pr merge pr_number --auto --squashIdentify

Merge with admin privileges (if allowed)

gh pr merge pr_number --adminIdentify