Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove a forked project in Gitlab

Tags:

I forked a project to a group. But there is no option to delete that forked project. I saw danger zone in Github. Is there any option available to delete forked project from Gitlab?

like image 824
Rajana Deepak Avatar asked Jun 07 '18 09:06

Rajana Deepak


People also ask

How do I remove a forked repository in GitLab?

go to forked project. then from left panel, go to Settings => General . click the Expand from Advance settings panel. go to bottom page and click Remove project .

How do I remove a project from GitLab repository?

To delete a GitLab project, click the Expand button in the Advanced section of the General Project Settings tab. The last option on the page is a red button that says Remove Project. Click this button and type in the name of the project to see all associated resources permanently deleted from the server.

Will deleting a forked repository delete the original?

Also note that if you are deleting a forked repository, deleting it will only remove it (including any changes you have made to it) from your own GitHub - you won't accidentally delete the original project (phew).


2 Answers

login with master role in the repository.

go to forked project. then from left panel, go to Settings => General.

like this:

enter image description here

click the Expand from Advance settings panel.

enter image description here

go to bottom page and click Remove project.

enter image description here

then type your projectName and click Confirm.

enter image description here

I hope is useful.

like image 68
AminRostami Avatar answered Oct 12 '22 01:10

AminRostami


First, check wheter you have master role in the repository/Group. Developer or any other role cannot delete the project/forked project.

If you are master then

  • Go to settings
  • Go to Advanced settings.
  • Click on remove project.
  • Type the project name and click confirm
like image 40
Rajana Deepak Avatar answered Oct 12 '22 00:10

Rajana Deepak