2

I have a git hub repository called "Name" (Without the quote). When I try to delete it:

git remote remove Name 

It returns me this:

error: Could not remove config section 'remote.Name' 

I even check the GitHub website to make sure it exists. It sure does, I don't know why I can't delete this. Thanks

2 Answers 2

3

A git remote is essentially a pointer to another repository. Removing the remote removes the pointer but does not delete the remote repository.

The git command line tool does not have the ability to delete github repositories. If you would like to do that you will have to delete it through the github web UI. See here for step by step instructions on how to do so.

Sign up to request clarification or add additional context in comments.

Comments

1

I don't think you can delete a github repository using git CLI. In github web interface go to repository settings, there you should find "delete this repository" option under danger zone section, use that option to delete the repository permanently.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.