Tell HN: GitHub will delete your private repo if you lose access to the original
530 points> Your private repository baobabKoodaa/laaketutka-scripts (forked from futurice/how-to-get-healthy) has been deleted because you are no longer a collaborator on futurice/how-to-get-healthy.
That was an MIT-licensed open source project I worked on years ago. We published the source code for everyone to use, so I certainly did not expect to lose access to it just because someone at my previous company has been doing spring cleaning at GitHub! I had a 100% legal fork of the project, and now it's gone... why?
Turns out I don't even have a local copy of it anymore, so this actually caused me data loss. I'm fine with losing access to this particular codebase, I'm not using HN as customer support to regain access. I just wanted everyone to be aware that GitHub does this.
Comments (279) 52 threads
Earlier commentsIf you fork a private repo and they remove you from the collaborators list, it's reasonable that your fork would be removed.
Continue this thread — 1 reply
Remember when Windows Research source code that was used for teaching in university, and was leaked in the late-aughts, way before Microsoft purchased Github?
I had this code in one private repository called "ms" for more than a decade. It didn't have Git history or anything, it was just some random files, plus the leaked sources.
I totally forgot about it until a last year ago, when I checked, and the code is entirely gone.
I'm now more careful about what I put in private repos. In fact I don't have anything private there anymore...
If one wants to create an actual fork, then clone the repository locally, change the upstream and push to repo on your account.
All comments shown.
Couldn't load more comments. Check your connection and try again.