Skip to content

Allow passing urls to --repo args #1505

@gibfahn

Description

@gibfahn

Describe the feature or problem you’d like to solve

I often want to automatically set repos, for example gh pr create --repo="$(git remote get-url @{u})" (simplified version).

This would make things easier when needing to distinguish between GHE and non-GHE repos, and also just generally when passing repos in a scriptable way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLI

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions