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
Show all comments
Showing thread 13 of 52
> and now it's gone... why?
Because it was a private not a public repo.
Private doesn't imply (common sense) that the original repository has power over any fork.
...which you can still trivially do if you use git to make the copy. And then your github repo will be immune to this kind of deletion.
So common sense says to me this should act similarly.
Continue this thread — 3 replies
Actually that's not really true, since your access to the original repository could still be revoked, and you are left with what you got.
Further, see sibling comment.
"My guess is that forking a private repository is a feature github intended to be used where employees or contractors of an enterprise want to fork their employer's repository as part of their development activities for that employer."
what you describe is "internal visibility"
https://docs.github.com/en/repositories/creating-and-managin...
like it happens when a public repo goes private: I don't loose access to my fork of the repo but access to the original repo
Continue this thread — 3 replies
If you want to continue your access to that private repo's source code, you now need to speak to them. They own it, not you.
"where you have the ability to elevate your own rights to somebody else's repo's contents."
This is not an accurate description. There are two repositories: the original repository, and the fork. Nowhere I want to to elevate my rights regarding the fork to the original repository.
" Name a computer system that intentionally allows people to do that."
If somebody sends me a word document per Email, I can edit it without someone else being able to delete the modified word document.
Continue this thread — 2 replies