A
A
account-42017-03-14 02:42:49
git
account-4, 2017-03-14 02:42:49

How to fix error when deleting remote?

It was sealed up when adding remote. Now I want to remove the remote and add a new one without a typo. I do:
git remote rm [email protected]:myuser:myrepo.git
Knocks out an error: I draw your
error: Could not remove config section
attention to the fact that myuser:myrepo was my typo.
The output of the command git remote -vis with a colon.

origin	[email protected]:myuser:myrepo.git (fetch)
origin	[email protected]:myuser:myrepo.git (push)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
padlyuck, 2017-03-14
@account-4

git remote rm origin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question