I probably did a huge mistake.
relevant system info:
- Windows XP SP2
- i686 Cygwin 1.7.6 git
- 1.7.1
I was trying to create an empty branch on a newly created git repository, here are the commands I just issued:
git init
git symbolic-ref HEAD refs/heads/klist
rm .git/index <---- this command failed obviously, there was no index.
git clean -fdx <---- this is my nightmare
problem is I was not aware the clean command really deletes the files that are in the current folder, and as this was a newly initialized git repository there is no old version to revert to.
Some of the files I have them uploaded on my home page but some are not. Any ideas on how to recover the files will be appreciated. I dont mind using any kind of recovery software, and I am aware that losing files on linux/cygwin is a pain if not impossible to recover, but hey lets give it a shot.