CmdID

CmdID / Commands

gh-pr

Manage GitHub pull requests. 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

Manage GitHub pull requests. Some subcommands such as create have their own usage documentation.

Create a pull request

gh pr [newIdentify

Check out a specific pull request locally

gh [co|pr checkout] pr_numberIdentify

View the changes made in the pull request for the current branch

gh pr diffIdentify

Approve the pull request for the current branch

gh pr review --approveIdentify

Merge the pull request associated with the current branch interactively

gh pr mergeIdentify

Edit a pull request interactively

gh pr editIdentify

Edit the base branch of a pull request

gh pr edit --base branch_nameIdentify

Check the status of the current repository's pull requests

gh pr statusIdentify