Reputation: 5783
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?
Upvotes: 391
Views: 796593
Reputation: 21
Upvotes: 2
Reputation: 4494
Goto
Setting->General
Scroll then you can see the last option "Advanced
" click on the (Expand). click on the "Delete Project
"
Upvotes: 27
Reputation: 1528
As of today, using the gitlab API v4, you can delete a project with the following curl request:
curl -X DELETE --header "PRIVATE-TOKEN: <personal-access-token>" https://<gitlab-host>/api/v4/projects/<project-id>
Where:
personal-access-token
is generated on the User settings/Access tokens page with api
scope,gitlab-host
is Your self-hosted gitlab domain or gitlab.com
,project-id
is at the top of the frontpage of your repository.If successful request You should see the following response:
{"message":"202 Accepted"}
Upvotes: 0
Reputation: 759
As of June 2016, click the settings cog in the top right corner and click edit project at the bottom of the list. Then, scroll to the bottom of the page to the Remove project section.
This is only available for admins/owner. As a mere project maintainer, you do not see the "Remove project" button.
Upvotes: 34
Reputation: 1170
ā Just at the bottom of your project settings .ā”š”
URL : https://gitlab.com/{USER_NAME}/{PROJECT_NAME}/edit
This is only available for admins/owner. As a mere project maintainer, you do not see the "Remove project" button.
Upvotes: 77
Reputation: 28245
This is only available for admins/owner. As a mere project maintainer, you do not see the "Remove project" button.
Upvotes: 579
Reputation: 1
click on the icon "admin area" click on the link "project[number]" click on the button Delete
Upvotes: 0
Reputation: 131
2022 Update:
https://gitlab.com/dashboard/projects
Be on to be deleted Project page >> Settings >> General >> Advanced >> Delete project
It will ask for the confirmation of the project name and once entered, choose - "yes, delete"
The user must have privileges to do so!
Upvotes: 2
Reputation: 13669
after clicking expand button , scroll down to bottom of the page
Type your Project Repository name and Click Yes Delete Project button
Upvotes: 4
Reputation: 774
For the 2021 Gitlab version
https://gitlab.com/<username>/<project name>
Upvotes: 1
Reputation: 161
Hope you can Successfully remove your project. Happy Coding :)
Upvotes: 1
Reputation: 847
As per January 13,2018 Do as follow:
Upvotes: 5
Reputation: 2254
It is hidden in Setting menu, section general
(not repository
!) at https://gitlab.com/$USER_NAME/$PROJECT_NAME/edit
and it again hidden in a section "Advance settings"- you need to click a "expand" button.
Upvotes: 1
Reputation: 45
Click on Project settings which you want to delete-->General project settings-->Expand-->Advanced settings-->Remove project.
Upvotes: 3
Reputation: 2072
This is taken from feb 2018
Follow the following test
Or Click the following Link
Note : USER_NAME will replace by your username
PROJECT_NAME will replace by your repository name
https://gitlab.com/USER_NAME/PROJECT_NAME/edit
click Expand under Advanced settings portion
Click remove project bottom of the page
Upvotes: 12
Reputation: 401
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".
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.
Upvotes: 18
Reputation: 169
Upvotes: 9
Reputation: 479
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.
Upvotes: 6
Reputation: 2672
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.
Upvotes: 11