github

Delete fork dependency of a GitHub repository


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?


Solution

  • Update Jan 2022:

    Use the GitHub chatbot-virtual-assistant at https://support.github.com/contact?tags=rr-forks&subject=Detach%20Fork&flow=detach_fork

    First answer: 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!).