-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIneeds-designAn engineering task needs design to proceedAn engineering task needs design to proceed
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIneeds-designAn engineering task needs design to proceedAn engineering task needs design to proceed