I accidentally deleted my .git folder, I would like to recover the .git folder, but I permanently deleted it.
Will I lose all my project’s history?
I also tryed the following solution with no success.
- It happened when I imported the code to the Eclipse IDE.
- I made many local changes without pushing them.
- I also using GitHub as a repo.
- Using Windows 10.
Source: Windows Questions