Re:A GitHub repository was public-viewable
by JulianWasTaken on Friday March 04, 2022 @01:14PM
(#30558273)
Please never do this -- not least of which because each person who does it will end up with now completely divergent histories and repos from each other.
There are various tools to properly filter history, e.g. `git-filter-repo`, but the short answer is as the grandparent commenter said, things get hairy, you need to rewrite history and coordinate. It's not a situation you should hope to get yourself into...
As for the individual repos, here's the procedure:
Do not do the above unless you completely understand the ramifications. But those ramifications might be precisely the ones you want for legal compliance.