SyntaxFix
Write A Post
Hire A Developer
Questions
I tried:
rm -rf .git and also
rm -rf .git
Git keeps all of its files in the .git directory. Just remove that one and init again.
Neither worked for me. Here's what did:
.git
Then create / restore the project from backup: