I came back to my machine, tried saving a file over ssh onto my linux server (CentOS).
It failed.
I wasn't interested in keeping any changes I had made so I closed my editor and reopened the file (over ssh).
The save attempt wiped the file.
I have made loads of changes to it since I last uploaded to revision control.
Seeing as it has just wiped the file I assume the data is still there. It's just a text file (php), is there any way of recovering it?