Context
I've had a fork, what I've deleted recently. I've checked: my repo is really deleted. I've also checked, the fork number on the original repo decreased from 3 to 2.
Question
Now I am trying to create a new fork from the very same repo, but github says: "You already have a fork of this repository" Why github says this?. Is there any workaround?
A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.
Go to your organization settings then Member Privileges and uncheck the Repository Forking option.
If a team's access to a private repository is revoked or a team with access to a private repository is deleted, and team members do not have access to the repository through another team, private forks of the repository will be deleted.
Note that after deleting the repository, the action cannot be undone. 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).
The create fork pop-up screen can be a little confusing if you are a member of the Organisation. In this case the message "You already have a fork of this repository" is informing you that you already have a fork in your Organisation. Though you still should be able to click on your profile picture on the create fork pop-up screen. This should fork that repository into your user account.
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