News for hackers. Stuff that matters.
Re:Tell HN: GitHub will delete your private repo if you lose... by cma on Tuesday January 31, 2023 @06:48PM (#34604108)
Is this scenario possible?

- you fork a public repo

- it's visibility is changed to private but you have access through the org

- they delete it

- you lose your fork, which was only ever of the public repo

Re:Tell HN: GitHub will delete your private repo if you lose... by kitkat_new on Tuesday January 31, 2023 @06:59PM (#34604203)
no, in this case it works as expected;

"GitHub will detach public forks of the public repository and put them into a new network. Public forks are not made private."

https://docs.github.com/en/repositories/creating-and-managin...

But better be safe than sorry...