My laptop is having some power issues and it often turns off randomly.

Last time, it happened while running some git stuff and since git didn't finish properly, the whole git directory fucked up: I could not do anything with git anymore.

Later I find this dude: https://stackoverflow.com/a/...

If you're in here, Nathan VanHoudnos, just know that you save more lives than any politician

  • 3
    You could also just delete the .git folder, git init, reset remote, force push branch
Add Comment