【github】What happens to forks when a repository is deleted or changes visibility?
来源:互联网 发布:阿里指数数据分析平台 编辑:程序博客网 时间:2024/06/06 05:48
Deleting a private repository
When you delete a private repository, all of its private forks are also deleted.
Deleting a public repository
When you delete a public repository, one of the existing public forks is chosen to be the new parent repository. All other repositories are forked off of this new parent and subsequent pull requests go to this new parent.
Changing a public repository to a private repository
If a public repository is made private, its public forks are split off into a new network. As with deleting a public repository, 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. Subsequent pull requests go to this new parent.
In other words, a public repository's forks will remain public in their own separate repository network even after the parent repository is made private. This allows the fork owners to continue to work and collaborate without interruption. If public forks were not moved into a separate network in this way, the owners of those forks would need to get the appropriateaccess permissions to pull changes from and submit pull requests to the (now private) parent repository—even though they didn't need those permissions before.
Deleting the private repository
If a public repository is made private and then deleted, its public forks will continue to exist in a separate network.
Changing a private repository to a public repository
If a private repository is made public, each of its private forks is turned into a standalone private repository and becomes the parent of its own new repository network. Private forks are never automatically made public because they could contain sensitive commits that shouldn't be exposed publicly.
If you own a private fork that has been converted into a standalone private repository, you will be billed for it—only private forks are free. If you aren't signed up for a paid plan, or if you don't have room in your current plan for another private repository, the repository will be locked. You must either upgrade or switch the repository to public to access it again. (You can alwayschange the repository back to public.)
For more information on what happens when a repository is locked, see our article"What happens if my repository is locked?".
Deleting the public repository
If a private repository is made public and then deleted, its private forks will continue to exist as standalone private repositories in separate networks.
- 【github】What happens to forks when a repository is deleted or changes visibility?
- What happens when there is a cache miss?
- What really happens when you navigate to a URL
- What really happens when you navigate to a URL
- What really happens when you navigate to a URL
- What really happens when you navigate to a URL
- What really happens when you navigate to a URL
- What really happens when you navigate to a URL
- What really happens when you navigate to a URL
- What really happens when you navigate to a URL
- 【翻译】What really happens when you navigate to a URL
- What really happens when you navigate to a URL
- What really happens when you navigate to a URL
- What happens when you run a container?
- Platform Builder: Cesysgen.bat, what happens when a SYSGEN Variable is set?
- What Happens When A Tablespace/Database Is Kept In Begin Backup Mode (Doc ID 469950.1)
- What really happens when you navigate to a URL--网页url跳转过程
- what happens when you type in a URL in browser
- Spring中ApplicationContextAware接口使用理解
- 山寨QQ好友列表
- C#中Encoding.Unicode与Encoding.UTF8的区别
- iOS开发之保存图片到手机相册
- Spring实例化Bean的三种方式及Bean的类型
- 【github】What happens to forks when a repository is deleted or changes visibility?
- 定制ListView界面
- Java工作利器之常用工具类(二)——数字工具类-大数乘法、加法、减法运算
- JavascriptDOM编程艺术学习笔记4
- xUtils类库(BitmapUtils、ViewUtils、DbUtils、HttpUtils)使用介绍
- 1. Oracle概念笔记一序言
- 旭说数据结构之用两个栈实现队列
- 剑指Offer-18-树的子结构
- Spring中ServletContextAware接口使用理解