Skip to content

gh pr create: support default-branch-only when prompting to fork #12670

@tamird

Description

@tamird

Describe the feature or problem you’d like to solve

I frequently create forks as a side effect of sending PRs - I would like to have those forks to have only the default branch from upstream rather than all branches.

I would like this to be something I can configure once rather than every time I send a PR.

Proposed solution

Better ergonomics, less noise when enumerating branches in forks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIgh-prrelating to the gh pr command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions