How to remove a Gitlab project?

GitGitlab

Git Problem Overview


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?

Git Solutions


Solution 1 - Git

  1. Go to the project page
  2. Select "Settings"
  3. Select the "General" section (you must be in the repository you want to delete it)
  4. If you have enough rights, then at the bottom of the page will be a button for "Advanced settings" (i.e. project settings that may result in data loss) or "Remove project" (in newer GitLab versions)
  5. Push this button and follow the instructions

This is only available for admins/owner. As a mere project maintainer, you do not see the "Remove project" button.

Solution 2 - Git

✅ Just at the bottom of your project settings .⚡

New version new version

URL : https://gitlab.com/{USER_NAME}/{PROJECT_NAME}/edit

  • Advanced : expand
  • Remove project

This is only available for admins/owner. As a mere project maintainer, you do not see the "Remove project" button.

Solution 3 - Git

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.

Solution 4 - Git

Goto

Setting->Advance(Expand it)->RemoveProject 

click After The Remove Project button Browser Display One Confirm Box Then Click On Ok and remove your project from Gitlab

enter image description here

Solution 5 - Git

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.

Solution 6 - Git

This is taken from feb 2018

Follow the following test

  1. Gitlab Home Page
  2. Select your projects button under Projects Menus
  3. Click your desired project
  4. Select Settings (from left sidebar)
  5. Click Advanced settings
  6. Click Remove Project

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

enter image description here

Solution 7 - Git

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.

Solution 8 - Git

  1. Open project
  2. Setting (In the left sidebar)
  3. General
  4. Advanced Setting (Click on Expand)
  5. Remove Project (Bottom of the Page)
  6. Confirm (By typing project name and press Confirm button)

Solution 9 - Git

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.

Solution 10 - Git

As per January 13,2018 Do as follow:

  1. Click on Project you want to delete.
  2. Click Setting on right buttom corner.
  3. Locate the Advanced settings section and click on the 'Expand' button
  4. Then Scroll down the page and click on the Remove Project button.
  5. Type your project name. Note : Removed project CANNOT be restored! and click on confirm.
  6. Then project will be deleted and soon 404 page error will be displayed for that project.

Solution 11 - Git

Click on Project settings which you want to delete-->General project settings-->Expand-->Advanced settings-->Remove project.

Solution 12 - Git

  1. goto Settings -> General

enter image description here

  1. scroll down to Advanced & click Expand button enter image description here

  2. after clicking expand button , scroll down to bottom of the page enter image description here

  3. Click Delete Project Red Button , a popup will show up enter image description here

  4. Type your Project Repository name and Click Yes Delete Project button

Solution 13 - Git

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!

Solution 14 - Git

It is hidden in Setting menu, section general (not repository!) at https://gitlab.com/$USER_NAME/$PROJECT_NAME/editand it again hidden in a section "Advance settings"- you need to click a "expand" button.

Solution 15 - Git

  • Click on Project you want to delete.
  • Click Setting on right buttom corner.
  • click general than go to advance
  • than remove project

Solution 16 - Git

  • 1.Gitlab Home Page
  • 2.Select your projects button under Projects Menus
  • 3.Click your desired project
  • 4.Select Settings (from left sidebar)
  • 5.Click Advanced settings Expand the Advanced settings this will be middle of the page
  • 6.Click Remove
  • 7.Project In the Modal write your project name

Hope you can Successfully remove your project. Happy Coding :)

Solution 17 - Git

For the 2021 Gitlab version

  1. Go to the project page. URL look like this. https://gitlab.com/<username>/<project name>
  2. Select "Settings" in the left sidebar
  3. Select the "General" section (you must be in the repository you want to delete to delete it)
  4. If you have enough rights, then at the bottom of the page will be the section named "Advanced". Then Click the "Expand" button.
  5. Scroll down in the "Advanced" section, then Click the "Delete project" button.
  6. Put and confirm the repository name in the popup, then Click the "Yes, delete project" button.

Solution 18 - Git

click on the icon "admin area" click on the link "project[number]" click on the button Delete

enter image description here

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionLiutasView Question on Stackoverflow
Solution 1 - Git0x4a6f4672View Answer on Stackoverflow
Solution 2 - GitRizerzeroView Answer on Stackoverflow
Solution 3 - GitEgon OlieuxView Answer on Stackoverflow
Solution 4 - GitHarsukh MakwanaView Answer on Stackoverflow
Solution 5 - GitseedjyhView Answer on Stackoverflow
Solution 6 - GitShourob DattaView Answer on Stackoverflow
Solution 7 - GitPulkit AggarwalView Answer on Stackoverflow
Solution 8 - GitReza MirzaeiView Answer on Stackoverflow
Solution 9 - Gitainos984View Answer on Stackoverflow
Solution 10 - GitDiwas PoudelView Answer on Stackoverflow
Solution 11 - GitGiridhar ReddyView Answer on Stackoverflow
Solution 12 - GitSaurabh MistryView Answer on Stackoverflow
Solution 13 - Gitkrishdd2View Answer on Stackoverflow
Solution 14 - Gitreducing activityView Answer on Stackoverflow
Solution 15 - GitmttinorView Answer on Stackoverflow
Solution 16 - GitKazi Rabbi HassanView Answer on Stackoverflow
Solution 17 - GitxorozoView Answer on Stackoverflow
Solution 18 - GitlbanharaView Answer on Stackoverflow