4 ms·
That's why I usually don't use the official "fork" feature, but clone and push the repository manually instead. I would like to keep the fork network connection
by darekkay 4y ago
That's why I usually don't use the official "fork" feature, but clone and push the repository manually instead. I would like to keep the fork network connection on Github, but I don't want to see my fork deleted because of an error, malice or simply lack of knowledge.
- rezonant 4y agoIt will only be deleted if the repo you fork from is a private repository. The documentation [1] covers the other scenarios, in all of which you keep your copy of the code (including when the public repository is made private later). [1] https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility https://docs.github.com/en/pull-requests/collaborating-with-...
- darekkay 4y agoTIL, thanks! I probably confused this with the GitHub takedowns, when forks are removed as well (as it happened to the youtube-dl repo). I could imagine my manual clone not withstanding such takedown either, though.
- rezonant 4y agoYeah for cases like that, keep a local copy, thankfully many people did
- andyjohnson0 4y ago> It will only be deleted if the repo you fork from is a private repository This makes sense. Thank you for clarifying that important detail. It seems to be missing from the parts of the discussion I've read here.
- TheRealPomax 4y agoNo, it doesn't. It only makes sense until you stop and go "Wait, no, hold on a minute. Why would they delete the fork instead of simply severing the fork relation in their fork relations table?".
- JeremyBanks 4y ago[dead]
- Ferret7446 4y agoConsider: You have access to many private company files. After you leave the company, the company is obligated to send you copies of all of the files because you may have linked to them. After all, you could have made personal copies of all of the files, so you should still retain access through links.
- remram 4y agoWhat if the original is made private and then deleted? Does your fork remain?
- vlz 4y agoYes, the docs linked above say: "If a public repository is made private and then deleted, its public forks will continue to exist in a separate network." https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility#deleting-the-private-repository https://docs.github.com/en/pull-requests/collaborating-with-...
- account42 4y agoIIRC GitHub will also delete the entire fork network for DMCA request even if your fork is not mentioned explicitly.
- devmunchies 4y agoSame. Another reason is I don't like how Github inserts "Forked from ..." in the project name. If your "fork" becomes extremely divergent after a couple years (maybe you had a different vision for the project), you are still stuck with the "Fork from..." sub-header, which basically tells users that they should look at the original. I'm otherwise fine putting attribution in a README.
- djur 4y agoRight, the entire point of GitHub forks is to make it easier to upstream your local changes to the original repository. If you have no interest in doing that you shouldn't use a fork.