I’ve accidentally deleted my Replit

I’ve accidentally deleted my entire Replit code

I want to know how to get it back

Hey there @golgis011!

According to the docs, you can restore a repl as so:

1. Go to your CLUI ← (that’s the link)

image

2. Go to trash

3. Go to restore-repl

4. Enter the name of the repl

(Note that a helpful list of recently deleted repl names pop up so it’s easier for you.)

You can also go to cli/trash/restore-repl for a direct link to the restore-repl button.

5 Likes

Hi @golgis011 , welcome to the forums!
If you’ve deleted your code, you can press CTRL+Z to undo the deletion.
Or, you can use File History (this may not work as of now though) to recover your code. Press the :arrows_counterclockwise: looking button at the bottom-right of your file and select different points of your code to restore them.

4 Likes