简体   繁体   中英

Impact of deleting upstream GitHub repository of my fork

I've forked a repository on GitHub.

If the owner of the upstream repository decided to delete their repository, will my fork still survive or be deleted too?

Github Enterprise Help documentation seems to suggest when a repository is deleted, all forks are too. However, does that apply to non-enterprise GitHub accounts too?

What comes to mind for me is MySQL and the MariaDB "fork". Is this actually a "fork" in the GitHub meaning, or is it merely a copy (so it appears as an original codebase) so that if Oracle were to remove MySQL, MariaDB wouldn't be impacted? How do they then keeping sync with MySQL new features.. manually?

The thing with git is that it is a distributed system. There is no need for any central repository at all. As soon as you have forked a repo it is in a sense completely detached from the source. You can change this or even push it to a different remote without the original source ever knowing.

https://help.github.com/articles/fork-a-repo/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM