github

How to unfork a GitHub repository?


How can I unfork a GitHub repository?

I have never seen unfork option — is it possible to do that?


Solution

  • As of now Github doesn't have an unfork option, so the only solution is to delete the forked repo.

    Warning: The following solution will delete your cloned repo. If you want unfork without your repo is being deleted try this https://stackoverflow.com/a/41486339/6335029

    Step 1: Goto Settings of Repo you want to unfork

    Step 2: Click Delete this Repository enter image description here

    Step 3: Enter your name / Repo name

    Step 4: click "I understand the consequences, delete this repository" button

    enter image description here