Question

I have been working on a raketask using Rubymine and Git. I have been using SourceTree to push my changes up to github.

I accidentally chose the "remove" option in source tree for the file I have been working on. This method apparently makes the file "irretrievably lost" which doesn't give me much hope. Is there anyway to recover the file? It was not committed nor pushed up to github yet, and the file is not in my local trash.

Was it helpful?

OTHER TIPS

Oh man, this just happened to me and came upon this.

What I did was (on Windows) right click the directory, properties, and went to previous versions tab. Luckily windows had a backup of just a couple minutes before I deleted it. I was very happy :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top