我在GitLab中创建了几个存储库。其中一个用于测试,有一些提交和分支。我想删除或删除这个存储库。我该怎么做呢?


当前回答

单击要删除的项目。 单击右下角的“设置”。 点击“常规”进入高级 而不是删除项目

其他回答

对于2021年的Gitlab版本

Go to the project page. URL look like this. https://gitlab.com/<username>/<project name> Select "Settings" in the left sidebar Select the "General" section (you must be in the repository you want to delete to delete it) If you have enough rights, then at the bottom of the page will be the section named "Advanced". Then Click the "Expand" button. Scroll down in the "Advanced" section, then Click the "Delete project" button. Put and confirm the repository name in the popup, then Click the "Yes, delete project" button.

从2016年6月开始,点击右上角的设置按钮,点击列表底部的编辑项目。然后,滚动到页面底部的Remove项目部分。

这只适用于管理员/所有者。作为一个纯粹的项目维护者,你看不到“移除项目”按钮。

要删除一个项目,您必须是这个项目的所有者,或者是gitlab的管理员。否则你只能看到“重命名项目”,而没有“删除项目”。

注意:创建者项目并不总是项目的所有者。如果项目在一个项目组中,并且该项目组是由另一个项目组创建的,那么默认情况下,所有者是该项目组的创建者。

您可以在“设置->成员”页面中找到项目所有者的名称。

1.Gitlab主页 2.选择项目菜单下的项目按钮 3.点击你想要的项目 4.选择设置(从左侧栏) 5.单击高级设置展开高级设置,这将是页面的中间 6.点击删除 7.在Modal中写下你的项目名称

希望你能成功移除你的项目。快乐编码:)

转到

Setting->Advance(Expand it)->RemoveProject 

点击删除项目按钮后,浏览器显示一个确认框,然后点击确定,从Gitlab删除你的项目