It just happened that while trying to remove the byte-compiled files from my .emacs.d directory. I ended up deleting up all the source files i.e .el files. It was a find remove, i.e I ran find . -name "*.el" -exec rm {} \;
. The .emacs.d directory was under git version control. But from a long time there was no commits. I have tried few suggestions from stackoverflow.com but that too didn't help. What I tried is as below
git checkout -- .
git reset --hard
both the commands didn't work and I still do not see my files.
any suggestions would be more than welcome. Please assist.