Skip to content

Remote repository configured #893

@victorhsn

Description

@victorhsn

When we're executing the command to create a repository, the following arguments are:

gh repo create name

After that the repository will be created on Github, however, when there is a remote track configured, I presume that CLI could print a message to the user showing that there is a remote setting. Instead it;

✓ Created repository OWNER/REPO on GitHub
fatal: remote origin already exists.
git: exit status 128

Proposed solution

Maybe we can print a message with options Y/N to continue.

YES argument

There is a remote URL configured, do you want to create the repo?
✓ Created repository OWNER/REPO on GitHub

NO argument
exit from CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIneeds-designAn engineering task needs design to proceed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions