Manually Leaving the fork network
To turn your fork into a standalone repository, you can clone the fork, use the clone to create a new repository, and then delete the fork removing the connection to the original network.
-
Open TerminalTerminalGit Bash.
-
Create a bare clone of the fork.
git clone --bare https://github.com/EXAMPLE-USER/FORK.git
-
Delete the forked repository. For more information, see Deleting a repository.
Warning
Deleting a fork will permanently delete any associated pull requests and configurations. This action cannot be undone.
-
Create a new repository with the same name in the same location. For more information, see Creating a new repository.
-
Mirror-push the repository back to the same remote URL.
git --git-dir FORK.git push --mirror https://github.com/EXAMPLE-USER/FORK.git
-
Remove temporary local clone you created earlier.
rm -rf FORK.git
For more information, see our support page on forks.