Forrest logo
back to the gh tool

gh-pr-create:tldr:a3e51

gh-pr-create: Start opening a pull request in the default web browser.
$ gh pr create --web
try on your machine

The command "gh pr create --web" is used in the context of the GitHub CLI (Command Line Interface). It is used to create a pull request (PR) on GitHub specifically through the web interface.

Here's a breakdown of the command:

  • "gh" is the command to run the GitHub CLI.
  • "pr" stands for pull request.
  • "create" is the action to create a new pull request.
  • "--web" is an option or flag that specifies that the pull request should be created using the web interface on GitHub instead of the CLI. This flag is required if you want to create a pull request through the web.

So, when you run this command, it will open the GitHub web interface where you can create a new pull request. You'll be prompted to enter details like the branches you want to merge, the title and description of the pull request, and any additional settings.

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