Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete fork dependency of a GitHub repository

Tags:

github

How can I make GitHub forget or disassociate that my repo was originally a fork of another project?

I forked a project in GitHub. I can now see "forked from whatever/whatever". The parent repository "whatever/whatever" is no longer maintained. I have been allowed to continue use of the code base of the original repository to create an independent repository.

Is there a way to detach my project from the original repository?

like image 802
Mick Avatar asked Apr 17 '13 05:04

Mick


People also ask

How do I remove a forked profile from my repository?

Under your repository name, click Settings. Under Danger Zone, click Delete this repository. Read the warnings. To verify that you're deleting the correct repository, type the name of the repository you want to delete.

Does deleting a repository delete forks?

Deleting a private repository When you delete a private repository, all of its private forks are also deleted.

Does deleting a forked repository GitHub?

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).

Can I delete a forked repository after pull request?

You can delete your fork as soon as you submit a Pull Request, regardless if it's merged or not. GitHub stores all PRs in the upstream repository, meaning proposed changes are tracked even if the fork is deleted. That simplifies the decision.


1 Answers

You can contact github support and ask them to switch your repository to "normal mode".

On this page, "Commit was made in a fork" paragraph, it is explained that one has to go through support to switch. Therefore, it is likely that there is no way to do that by yourself (unless you destroy and recreate your repo which is explained before... if you do so be careful if you have tickets or a wiki attached to your project as they will be deleted!).

Update Jan 2022:

Use the GitHub chatbot-virtual-assistant at https://support.github.com/request/fork .

like image 160
Thomas Moulard Avatar answered Sep 18 '22 18:09

Thomas Moulard