I was working on my project (eclipse project with egit plugin) and I accidentally removed a file. I haven't committed the changes. I wanted to restore the file so I did:
git checkout commit src
Now my source files are replaced by those of my previous commit.
Is there any chance to restore the changes I have made? If yes how to do it?