我在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.

其他回答

截至2017年9月, 1. 点击你的项目。 2. 选择最上方角落的设置。 3.向下滚动页面,在高级设置前单击展开。 4. 向下滚动页面并单击Remove Project按钮。 5. 在文本框中输入项目名称,然后单击确认。

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

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

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

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

这是2018年2月拍摄的

执行以下测试

Gitlab主页 选择项目菜单下的项目按钮 点击你想要的项目 选择设置(从左侧栏) 单击高级设置 单击删除项目

或单击下面的链接

注意:USER_NAME将替换为您的用户名

PROJECT_NAME将替换为您的存储库名称

https://gitlab.com/USER_NAME/PROJECT_NAME/edit

单击“高级设置”部分中的“展开”

单击页面底部的删除项目