How to un fork a github repository?
I have never seen unfork
option anybody knows how to do that?
Yes. Just delete it! Go to your fork online and click on settings, then scroll down to the “danger zone” and press “delete repo”. How do you delete a project from GitHub?
You can revert a commit by right-clicking in the Fork interface and choosing the Revert option. This will create a new commit that will undo the changes from the commit you want to revert.
Once deleted, you will be able (as seen here) to re-fork the original project at any time. As mentioned here, as long as your PR (Pull Requests) are accepted, you can delete your fork.
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).
See https://stackoverflow.com/a/66470086/151312
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
Step 3: Enter your name / Repo name
Step 4: click "I understand the consequences, delete this repository" button
GitHub support can do this for you.
They completed the process for me within 1 minute after that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With