Answer the question
In order to leave comments, you need to log in
How to return the previous version of a file on the server?
Good day! Yesterday I accidentally saved the wrong thing to a file on the server, but there was a lot of necessary code there. Now I'm racking my brains on how to restore it to a previous version. Connected via FTP and changed the file by opening it normally in the Visual Studio editor.
Answer the question
In order to leave comments, you need to log in
Thanks everyone for the answers, the problem was solved very simply, I was very lucky that someone backed up the files yesterday.
you can ask the hoster for backup files,
you can probably see the history in visual studio, I have quite a large history stored in sublime, probably for visual studio too,
and so learn how to use the git don’t be a miscarriage programmer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question