Create a pull request specifying the base branch, title, and description

gh pr create

  • Manage GitHub pull requests from the command-line.
    More information: <https://cli.github.com/manual/gh_pr_create>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gh pr create --base {{base_branch}} --title "{{title}}" --body "{{body}}"

click the source code to copy install gh pr create on any operating system with command-not-found.com