How to recover .git folder deletion?

  .git-folder, git, github, windows

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.

Notes:

  • 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

LEAVE A COMMENT