How to recover from "reset --hard"
- From
Ping Yin <pkufranky@gmail.com>
- Date
- Aug 22, 2009, 02:53 UTC
- Message-ID
- <46dff0320908211953u2f63cdb4m9cab863266a03df7@mail.gmail.com>
After adding a file to index, i do a "reset --hard", then how do i recovery the file?
I want write all lost files to a directory and find it according to the file size.
Does "git fsck --lost-found" write this file to .git\lost-found\other ?
Ping Yin