Hi everyone,
I've made a pretty stupid mistake with a git repository and lost some files I really need.
I thought I added all new files to the repo before I commited the change to the current branch (didn't happen though). Then I created a new branch and deleted these files again from the new branch within TextMate with "move to trash". I switched branches couple of times with the 'checkout' command. Later, I tried to restore these files from trash but there were none..
I've tried several options to recover the files including 'git fsck --lost-found' but it appears that they've never been registered in the repo.
Is there any option left to recover unadded/uncommited files that were deleted from the hard drive? does OSX provide some sort of recovery for that?
Thanks so much!