by dotancohen · 5y ago · 0 comments
I'm sure that you could rm the .git/ and overwrite it but keep it pointing at the same repo. I don't know what would happen on the remote, though, when you push.
For good measure, you should also probably run a `git gc` (garbage collect) on the repo too, just to be sure. :)