GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GH-PR-MERGE(1) GitHub CLI manual GH-PR-MERGE(1)

gh-pr-merge - Merge a pull request

gh pr merge [<number> | <url> | <branch>] [flags]

Merge a pull request on GitHub.

Without an argument, the pull request that belongs to the current branch is selected.

When targeting a branch that requires a merge queue, no merge strategy is required. If required checks have not yet passed, auto-merge will be enabled. If required checks have passed, the pull request will be added to the merge queue. To bypass a merge queue and merge directly, pass the --admin flag.

Use administrator privileges to merge a pull request that does not meet requirements

Email text for merge commit author

Automatically merge only after necessary requirements are met

Body text for the merge commit

Read body text from file (use "-" to read from standard input)

Delete the local and remote branch after merge

Disable auto-merge for this pull request

Commit SHA that the pull request head must match to allow merge

Merge the commits with the base branch

Rebase the commits onto the base branch

Squash the commits into one commit and merge it into the base branch

Subject text for the merge commit

Select another repository using the [HOST/]OWNER/REPO format

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

gh-pr(1)

Jul 2025

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.