How to remove a forked project in Gitlab

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.


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

As per the above response, you'll not be able to fork again for about a week as the name is already taken, by the pending removed fork.

This is frustrating, and sometimes unaffordable. Here is what you can do from settings:

1) change the deferred removal project name

changing the project name

2) press Save Changes (ignroing potential error messages)

3) expand advanced and now rename the path as well

Changing the project path

4) try to fork again; now it worked

Tags:

Github

Gitlab