Turgs
Turgs

Reputation: 1799

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?

Upvotes: 1

Views: 351

Answers (1)

jimmy
jimmy

Reputation: 2031

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/

Upvotes: 1

Related Questions