gh repo fork

Create a fork of a repository


Create a fork of a repository.

With no argument, creates a fork of the current repository. Otherwise, forks the specified repository.

gh repo fork [<repository>] [flags]


      --clone string[="true"]    Clone fork: {true|false|prompt} (default "prompt")
      --remote string[="true"]   Add remote for fork: {true|false|prompt} (default "prompt")

Options inherited from parent commands

      --help              Show help for command
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO format