git 如何删除 Gitlab 项目?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24032232/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to remove a Gitlab project?
提问by Liutas
I have created several repositories in GitLab. One of those was for testing purposes and has some commits and branches. I want to delete or remove this repository. How can I do this?
我在 GitLab 中创建了几个存储库。其中之一用于测试目的,并有一些提交和分支。我想删除或移除此存储库。我怎样才能做到这一点?
回答by 0x4a6f4672
- Go to the project page
- Select "Settings"
- If you have enough rights at the bottom of the page then will be a button for "Advanced settings" (i.e. project settings that may result in data loss) or "Remove project" (in newer GitLab versions)
- Push this button and follow the instructions
- 进入项目页面
- 选择“设置”
- 如果您在页面底部有足够的权限,那么将有一个按钮用于“高级设置”(即可能导致数据丢失的项目设置)或“删除项目”(在较新的 GitLab 版本中)
- 按此按钮并按照说明进行操作
回答by Rizerzero
? Just at the bottom of your project settings .?
? 就在项目设置的底部。?
URL : https://gitlab.com/{USER_NAME}/{PROJECT_NAME}/edit
网址:https: //gitlab.com/{USER_NAME}/{PROJECT_NAME}/edit
- Avanced : expand
- Remove project
- 进阶:展开
- 删除项目
回答by Egon Olieux
As of June 2016, click the settings cogin the top right corner and click edit projectat the bottom of the list. Then, scroll to the bottom of the page to the Remove projectsection.
截至 2016 年 6 月,单击右上角的设置齿轮,然后单击列表底部的编辑项目。然后,滚动到页面底部的“删除项目”部分。
回答by Harsukh Makwana
回答by Pulkit Aggarwal
As of September 2017,
1. Click on your project.
2. Select setting on the top most corner.
3. Scroll down the page and click on expand in front of advance setting.
4. Scroll down the page and click on the Remove Project button.
5. Type your project name in text box and click on confirm.
截至 2017 年 9 月,
1. 单击您的项目。
2. 选择最上角的设置。
3. 向下滚动页面,点击高级设置前的展开。
4. 向下滚动页面并单击“删除项目”按钮。
5. 在文本框中输入您的项目名称,然后单击确认。
回答by seedjyh
To remove a project, you have to be the owner of this project, or the administrator of gitlab. Otherwise you can only see "rename project" but no "remove project".
要删除项目,您必须是该项目的所有者,或者是 gitlab 的管理员。否则,您只能看到“重命名项目”而看不到“删除项目”。
NOTE THAT: the creator project is NOT always the owner of the project. If the project is in a project-group, and the project-group is created by another one, then the owner is the creator of the project-group by default.
注意:创建者项目并不总是项目的所有者。如果项目在一个项目组中,而该项目组是由另一个项目组创建的,则所有者默认为该项目组的创建者。
You can find the owner's name of the project in the page Settings -> Members.
您可以在页面设置 -> 成员中找到项目的所有者名称。
回答by Shourob Datta
This is taken from feb 2018
这是从 2018 年 2 月拍摄的
Follow the following test
按照下面的测试
- Gitlab Home Page
- Select your projects button under Projects Menus
- Click your desired project
- Select Settings (from left sidebar)
- Click Advanced settings
- Click Remove Project
- Gitlab 主页
- 在项目菜单下选择您的项目按钮
- 点击你想要的项目
- 选择设置(从左侧边栏)
- 点击高级设置
- 单击删除项目
Or Click the following Link
或点击以下链接
Note : USER_NAME will replace by your username
注意:USER_NAME 将替换为您的用户名
PROJECT_NAME will replace by your repository name
PROJECT_NAME 将替换为您的存储库名称
https://gitlab.com/USER_NAME/PROJECT_NAME/edit
https://gitlab.com/USER_NAME/PROJECT_NAME/edit
click Expand under Advanced settings portion
单击高级设置部分下的展开
Click remove project bottom of the page
单击页面底部的移除项目
回答by Reza Mirzaei
- Open project
- Setting (In the left sidebar)
- General
- Advanced Setting (Click on Expand)
- Remove Project (Bottom of the Page)
- Confirm (By typing project name and press Confirm button)
- 打开项目
- 设置(在左侧边栏中)
- 一般的
- 高级设置(点击展开)
- 删除项目(页面底部)
- 确认(通过输入项目名称并按确认按钮)
回答by Diwas Poudel
As per January 13,2018 Do as follow:
根据 2018 年 1 月 13 日,请执行以下操作:
- Click on Project you want to delete.
- Click Settingon right buttom corner.
- Locate the Advanced settingssection and click on the 'Expand' button
- Then Scroll down the page and click on the Remove Projectbutton.
- Type your project name. Note : Removed project CANNOT be restored!and click on confirm.
- Then project will be deleted and soon 404 page error will be displayed for that project.
- 单击要删除的项目。
- 点击右下角的设置。
- 找到“高级设置”部分,然后单击“展开”按钮
- 然后向下滚动页面并单击“删除项目”按钮。
- 键入您的项目名称。注意:删除的项目无法恢复!并点击确认。
- 然后项目将被删除,很快就会为该项目显示 404 页面错误。
回答by ainos984
As of October 2017:
1. In the list of your projects, click on the project you want to delete;
2. In the left sidebar, click on the 'Setting' button;
3. Locate the 'Advanced settings' section and click on the related 'Expand' button;
4. At the bottom you'll find the 'Remove Project' button, click it;
5. Type the name of the project inside the text input and Confirm.
截至 2017 年 10 月:
1. 在您的项目列表中,点击您要删除的项目;
2. 在左侧边栏中,单击“设置”按钮;
3. 找到“高级设置”部分,点击相关的“展开”按钮;
4. 在底部你会找到“删除项目”按钮,点击它;
5. 在文本输入中输入项目名称并确认。