Thanks jetbrain’s Local History

Yesterday I created a project in htdocs folder and I coded about a hundred lines in index.php file, then I left the office Without pushing the codes to the server, Today, when I turned on the my system, I noticed that the htdocs folder was empty! This happened for reasons that do not matter now. I tried many way to get my deleted project back But it did not work!

When I was disappointed, a thought suddenly came to my mind :) I created an empty folder with the name of my project, then I Create index.php file again and open this folder as a project in PhpStrom.

I use Show History Option in PhpStrom And I saw that PhpStrom has a history of my files

Finally I was able to get my code back.

So Jetbrain Thank you!

--

--