git new-pull-request

The new-pull-request command helps create a new pull request for the current feature branch. It opens your code hosting service's page to create a new pull request in your browser and pre-populates the current and target repository and branch. It also syncs the branch to merge before opening the pull request.


You can create new pull requests for repositories hosted on:

When using self-hosted versions of these services, you can configure the hosting service type with the code-hosting-driver setting.

When using SSH identities, this command uses the hostname in the code-hosting-origin-hostname setting.