Re:Tell HN: GitHub will delete your private repo if you lose...
by kadoban on Wednesday February 01, 2023 @12:03AM
(#34606601)
The right way is to make it public first? That's insanity. Making a repo public just to delete it would be a huge information leak even if it was short in duration.
Re:Tell HN: GitHub will delete your private repo if you lose...
by Ennea on Wednesday February 01, 2023 @07:49AM
(#34609725)
Just force push something very empty to it before making it public. One more step, yay..
If a private repository is made public, each of its private forks is turned into a standalone private repository and becomes the upstream of its own new repository network. Private forks are never automatically made public because they could contain sensitive commits that shouldn't be exposed publicly.
If a private repository is made public and then deleted, its private forks will continue to exist as standalone private repositories in separate networks.
But I agree this is confusing.