我在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.
其他回答
单击要删除的项目。 单击右下角的“设置”。 点击“常规”进入高级 而不是删除项目
自2018年1月13日起 按照以下步骤做:
单击要删除的项目。 单击右下角的“设置”。 找到高级设置部分并单击“扩展”按钮 然后向下滚动页面并单击“删除项目”按钮。 键入您的项目名称。注意:已删除的项目不能恢复!然后点击确认。 然后该项目将被删除,很快该项目将显示404页面错误。
截至2017年9月, 1. 点击你的项目。 2. 选择最上方角落的设置。 3.向下滚动页面,在高级设置前单击展开。 4. 向下滚动页面并单击Remove Project按钮。 5. 在文本框中输入项目名称,然后单击确认。
它隐藏在设置菜单,部分通用(不是仓库!)在https://gitlab.com/$USER_NAME/$PROJECT_NAME/editand再次隐藏在部分“高级设置”-你需要点击“展开”按钮。
要删除一个项目,您必须是这个项目的所有者,或者是gitlab的管理员。否则你只能看到“重命名项目”,而没有“删除项目”。
注意:创建者项目并不总是项目的所有者。如果项目在一个项目组中,并且该项目组是由另一个项目组创建的,那么默认情况下,所有者是该项目组的创建者。
您可以在“设置->成员”页面中找到项目所有者的名称。
推荐文章
- 为什么我需要显式地推一个新分支?
- 如何撤消最后的git添加?
- Rubymine:如何让Git忽略Rubymine创建的.idea文件
- Gitignore二进制文件,没有扩展名
- Git隐藏错误:Git隐藏弹出并最终与合并冲突
- 了解Git和GitHub的基础知识
- 没有。Git目录的Git克隆
- Git与Mercurial仓库的互操作性
- 忽略git中修改(但未提交)的文件?
- “git restore”命令是什么?“git restore”和“git reset”之间有什么区别?
- Git合并与强制覆盖
- Git拉另一个分支
- 在Bash命令提示符上添加git分支
- 如何更改Git日志日期格式
- git pull -rebase和git pull -ff-only之间的区别