I don't know if this is the best place to ask it, but I have a serious problem.
I've worked 3 months on a project. And planned to go to GIT.
I did a git init
, a month back. A few days after the init I've renamed the project.
After that I accidentally did these commands.
git rm * -r -f
- Because some 'deletes' weren't staged for commit
git reset --hard
- Because I thought I was able to reset to before the git rm
.
I didn't know that git was able to remove files and haven't committed anything.
Am I able to get my files back, and how?