Forrest logo
back to the gh tool

github:pull-request:create

Create a pull request.
$ gh pr create
try on your machine

The gh pr create command is a command line interface (CLI) command used for creating pull requests (PR) in a GitHub repository. When executed, this command generates a prompt for the user to specify the parameters of the PR such as the base branch, the changes being made, and the title of the PR. The gh part of the command represents the GitHub CLI tool, which provides users with an easy-to-use interface for interacting with GitHub repositories from the command line. The pr part of the command refers to pull requests, which is a feature in GitHub that allows users to propose changes to and merge code into a repository. Overall, this command simplifies the process of creating a pull request by providing a streamlined and intuitive interface for users.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gh tool