Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

glab repo create stops when a remote named "origin" already exists #1000

Open
RoneoOrg opened this issue Jun 10, 2022 · 1 comment
Open

glab repo create stops when a remote named "origin" already exists #1000

RoneoOrg opened this issue Jun 10, 2022 · 1 comment
Labels
enhancement New feature or request stale

Comments

@RoneoOrg
Copy link

Hi there,

When using glab repo create,

  • a repo is successfully created
  • then glab tries to add this repo as a git remote for the current directory.

Problem

If a remote named origin already exists, glab stops here and no remote is added.
Then it's a long procedure to get it done.

Suggestion: Is it possible to fall back to another remote name, or maybe prompt the user?

My Environment

  • Version used : glab version 1.22.0 (2022-01-10)
  • Operating System and version: Debian 11
  • Remote: gitlab.com

Thank you, glab is awesome!

@RoneoOrg RoneoOrg added the enhancement New feature or request label Jun 10, 2022
@clemsbot
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.

@clemsbot clemsbot added the stale label Jul 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

2 participants