I accidentally discarded saved changes to file which is neither committed nor staged. What can i do to recover it?
already tried some random solutions from net but none of them helped me.
Tried
git clean -fd
also tried
git checkout -- <filename>
tried git checkout -- .
too.
I am using VSCode
Edit: Note: I Discarded changes on few days back and now I came to know I discarded wrong files.