无法删除GitHub存储库 [英] Can not delete an GitHub repository

查看:122
本文介绍了无法删除GitHub存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个叫做Name的git集线库(没有引号)。当我尝试删除它时:

  git remote删除名称

它返回给我:

 错误:无法删除配置部分'remote.Name'

我甚至检查GitHub网站以确保它存在。它确实如此,我不知道为什么我不能删除这个。谢谢

解决方案

git远程本质上是指向另一个存储库的指针。删除远程将删除指针,但不会删除远程存储库。



git命令行工具无法删除github存储库。如果你想这样做,你将不得不通过github web UI删除它。请参阅此处获取有关如何操作的分步说明。

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

解决方案

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.

这篇关于无法删除GitHub存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆