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


当前回答

单击要删除的项目设置—>一般项目设置—>展开—>高级设置—>删除项目。

其他回答

进入项目页面 选择“设置” 选择“General”部分(您必须在想要删除它的存储库中) 如果你有足够的权限,那么在页面底部会有一个“高级设置”按钮(即可能导致数据丢失的项目设置)或“删除项目”按钮(在较新的GitLab版本中)。 按这个按钮,然后按照说明做

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

自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.

goto设置->通用

向下滚动到高级&单击展开按钮 单击展开按钮后,向下滚动到页面底部 点击删除项目红色按钮,会弹出一个窗口 键入您的项目存储库名称并单击是删除项目按钮

它隐藏在设置菜单,部分通用(不是仓库!)在https://gitlab.com/$USER_NAME/$PROJECT_NAME/editand再次隐藏在部分“高级设置”-你需要点击“展开”按钮。