Skip to content

error on missing base repo config #6729

Description

@vilmibm

With the advent of gh repo default ( #4859 ) we want to stop offering interactive selection of a base repo during actions like creating pull requests and issues. This issue covers modifying the BaseRepo function to error if there are multiple git remote candidates for gh to use as a base repository and none have been explicitly selected yet.

The error should tell users to run gh repo default to select a base repo, then go back to what they were doing.

Activity

  1. added
    coreThis issue is not accepting PRs from outside contributors
    enhancementa request to improve CLI
    on Dec 13, 2022
  2. self-assigned this
    on Dec 13, 2022
  3. mislav commented on Dec 22, 2022

    @mislav
    Contributor

    Shipped in #6738; thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions