Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why github says "You already have a fork of this repository"?

Tags:

github

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?

like image 875
g.pickardou Avatar asked Aug 19 '16 15:08

g.pickardou


People also ask

What does fork repository mean in GitHub?

A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.

How do I turn off fork in GitHub?

Go to your organization settings then Member Privileges and uncheck the Repository Forking option.

What happens to a forked repository if the original is deleted?

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.

Can I delete a forked repository and fork it again?

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).


1 Answers

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.

like image 122
Andrew Terekhine Avatar answered Sep 28 '22 08:09

Andrew Terekhine