Shane Kenyon
Shane Kenyon

Reputation: 5391

How do I remove a GIT remote that has a "blank" name?

Somehow during my SSH configuration (for GitHub), Tortoise Git has created a remote configuration with a "blank" name.

Neither Tortoise nor Git command line will allow me to remove it because Git requires a name to be passed for the remote configuration.

Has anyone run into this before and what is the solution?

Tortoise GIT remote issue

Update

Below is the screenshot showing the section I removed based on the answer. The file is: ./.git/config

GIT config file

Upvotes: 3

Views: 153

Answers (2)

user2062950
user2062950

Reputation:

You should be able to use a text editor to manually edit .git/config file in your repo and rename the remote there.

Upvotes: 3

Adrià Cidre
Adrià Cidre

Reputation: 412

Maybe you can remove it from github:

https://github.com/blog/1377-create-and-delete-branches

on your repo:

https://github.com/<user>/<repo>/branches

Upvotes: -1

Related Questions