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


当前回答

2022年更新:

https://gitlab.com/dashboard/projects

待删除项目页面>>设置>>普通>>高级>>删除项目

它将要求确认项目名称,一旦输入,选择-“是,删除”

用户必须有权限这样做!

其他回答

自2018年1月13日起 按照以下步骤做:

单击要删除的项目。 单击右下角的“设置”。 找到高级设置部分并单击“扩展”按钮 然后向下滚动页面并单击“删除项目”按钮。 键入您的项目名称。注意:已删除的项目不能恢复!然后点击确认。 然后该项目将被删除,很快该项目将显示404页面错误。

对于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.

截至2017年10月: 1. 在项目列表中,单击要删除的项目; 2. 在左侧工具栏,点击“Setting”按钮; 3.找到“高级设置”部分,并点击相关的“扩展”按钮; 4. 在底部你会发现“移除项目”按钮,点击它; 5. 在文本输入中键入项目名称并确认。

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

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

开放项目 设置(在左侧栏中) 一般 高级设置(点击展开) 删除项目(页面底部) 确认(输入项目名称并按确认键)