So when I was editing my website I added a file with nothing (no .html, .js, ect) at the end. The next day I came back and it changed the site like it rewinded it to when I first very made it. Now I have to code it all again >:( . Can you look in to this thanks :~)
Before you rewinded, you should have ran
ls in the terminal to see if the file still exists and could have been hidden by the editor.