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 3 of 52
“On display? I eventually had to go down to the cellar to find them.”
“That’s the display department.”
“With a flashlight.”
“Ah, well, the lights had probably gone.”
“So had the stairs.”
“But look, you found the notice, didn’t you?”
“Yes,” said Arthur, “yes I did. It was on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying ‘Beware of the Leopard.”
― Douglas Adams, The Hitchhiker's Guide to the Galaxy
This is unexpected behaviour from Github here which may (and has, by the anecdote of OP) cause permanent data loss. Documentation is not good enough, as users should not have been expected to have read the entire documentation.
On that note, an organization admin can _directly_ delete your private fork without even deleting the source repository if they want. GitHub's permission model is fairly direct that private forks you make through your membership in an organization are more the organization's property than the forker's.
Continue this thread — 6 replies
I know this isn't common but I actually use a unique user for my company "myname-company"
[1] https://docs.github.com/en/pull-requests/collaborating-with-...
Continue this thread — 1 reply
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.
Continue this thread — 2 replies
"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-...
Continue this thread — 3 replies