Accidentaly deleted my code

is there a way to redeem a accidentally deleted repl

yeah you just go to account then go to clui and go to trash then go to restore and enter the repl name

as @Firepup650 said: here’s the link https://replit.com/~/cli/trash/restore-repl

image



3 Likes

Adding on to @bigminiboss’ post, here’s the link:
https://replit.com/~/cli
Direct link to the restore-repl section of the trash:
https://replit.com/~/cli/trash/restore-repl

2 Likes

ok so i got back the repl but the code isent there

Try creating files with the names of the ones that were there before. Replit will usually restore code that way.

1 Like

i tried it but it is not working

Then I’m not sure what to tell you, sorry. Maybe someone more experienced or the staff can help you.

please give us some more information

2 Likes

replit really should stop telling you your code will be deleted and this action cannot be undone

1 Like

I don’t think Replit will disable that message, since the user needs to know what happens if they delete their Repl.

1 Like

it reedemed the replit but not the code in it

Try to contact support at contact@replit.com or create a ticket at https://support-form.util.repl.co/ and see if they are able to help you.

well… it can be undone

While yes, code can be restored back into the Repl. However, things like file history will disappear forever.

1 Like

how do i restore the code back into the repl

You can try doing this first.

Have you checked the Repl’s file history>

how do i check the file history

there’s a small button at the bottom of the file that says history


:eyes: wow crosis py implementation

3 Likes

thank you very much i thought it was gone forever.

1 Like