I did a commit with a lot of work and accidentally a folder of images which was huge. I then did a git reset --hard HEAD^ and thought it would just remove the commit. But it turned out it also removed all the work I had done ... huge bummer.
Now, I've read hundreds of posts about recovering from that exact accident. But no matter what I try, I simply cannot recover all the edited files and folders I've created during the last days.
HOW, can I make git give me back the lost files?
OK. Obviously clearly overworked here ... what I did was:
git add .
And then after seeing my mistake I did a:
git reset --hard HEAD^
Yes, totally screwing around here.
How do I recover from this situation?