How to remove a Gitlab project?
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?
- Go to the project page
- Select "Settings"
- Select the "General" section (you must be in the repository you want to delete it)
- 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)
- Push this button and follow the instructions
✅ Just at the bottom of your project settings .⚡💡
New version
URL : https://gitlab.com/{USER_NAME}/{PROJECT_NAME}/edit
- Advanced : expand
- Remove project
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.
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
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.