-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't workingpriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Description
Describe the bug
Version
gh version 1.1.0 (2020-10-06)
https://github.com/cli/cli/releases/latest
Problem
When I want to create a GitHub repo via gh repo create Username/RepoName, I got some error.
Steps to reproduce the behavior
- Type the command
gh repo create Username/new_repo_name - View the output
- You will see error "fatal: remote origin already exists"
Expected vs actual behavior
- Expected: I can create then clone the repo with
gh repo create - actual behavior: I can create the repo, but can't clone it. I need to run
gh repo cloneto clone it.
Logs
$ gh repo create Emojigit/example
? Visibility Public
? This will create 'Emojigit/example' in your current directory. Continue? Yes
✓ Created repository Emojigit/example on GitHub
fatal: 遠端 origin 已經存在。
git: exit status 128
Translate:
- 遠端: remote
- 已經存在: already exists
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic