当您将存储库从 public 切换为私有后删除存储库时会发生什么情况?

What happens to fork when you delete your repo after switching it from public to private?

我的问题是 public 存储库的分叉会发生什么情况,该存储库变成私有然后被删除?在私有或 public 时分叉对这种情况有影响吗?

我从 GitHub 文档中了解到的是:

https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility

If a public repository is made private, its public forks are split off into a new network.

之后删除您的私有存储库不会影响新网络,所有 public 个存储库将保留 public。

one of the existing public forks is chosen to be the new parent repository and all other repositories are forked off of this new parent.