Question:I accidentally deleted all of my code and I’m wondering if there’s a way to get it back.
Repl link:
code snippet
Question:I accidentally deleted all of my code and I’m wondering if there’s a way to get it back.
Repl link:
code snippet
Hey @AilaPiatkiewicz and welcome to the community!
To recover a missing file, you can create a file with the same name.
To restore a Repl, you can to to the CLUI and click on restore repl
.
I’m pretty sure there is not a way to get it back. Take this advice with a grain of salt as I am only about 88.73% sure, but to the best of my knowledge, no. I’m sorry for the loss of code though
I literally almost started crying but I got it figured out tysm
Trying pressing Ctrl + Z to undo changes. If you’re on mobile you can tap the lightning button and then the undo button.
If you exited the Repl, go to the History tab and move the sliders until it looks right.
If you deleted the file, make a new file with the same name as the deleted one. This should restore it.
Hope this helped
how can i restore deleted folder
If you mean on a Repl, you cannot as far as I know.
You can, just create another folder with the exact same name as the folder you deleted, and in the timeline/history it will be there.
Oh, I wasn’t aware of this. Thanks for correcting me!
No? You have to both re-make the folder, and then individual files, and then rollback the history on each individual file.
I messed up on folders and files
You do have to recreate the folder and each file, thanks!