Skip to content

gh pr new - No longer valid. Use gh pr create. #13638

@VbhvGupta

Description

@VbhvGupta

gh pr new was deprecated in 2021. Its no longer a valid command.

The official command is gh pr create. You can see this in the official documentation here: gh_pr_create

The alias new was removed in version 2.0 of the GitHub CLI.

If a developer tries to run it on their local machine with a modern version of the gh CLI, the script will fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueeasy issue that is friendly to new contributorstatus: help wanteddevelopers would like help from experts on this topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions