Skip to content
← Back to Community
How do I turn back (to undo what you did) in repl?
Profile icon
Miguel123TC

The problem is that I accidentally delete all the code, how do I undo that action? pls cost me work this

Answered by RYANTADIPARTHI [earned 5 cycles]
View Answer
Voters
Profile icon
Shangool100
Profile icon
AaravTandon1
Profile icon
RonaldPham
Profile icon
PokeStriker
Profile icon
LiaSaenz
Profile icon
RyanMcMillin
Profile icon
Marinamath
Profile icon
AbiraamKathirga
Profile icon
Miguel123TC
Profile icon
KalynWilliams
Comments
hotnewtop
Profile icon
RYANTADIPARTHI

Solution

There is a button in repl.it, says repl history.Click that, and click on the code you want, and it restores it.

Screenshot 2020-12-04 at 8.41.13 AM

just do it, and it should work
That should work

Profile icon
RobynByrd

Thank you. When I tried doing this it kept saying to me that Replit.com refuse to connect. What am I supposed to do? @RYANTADIPARTHI

Profile icon
AyomideSonibare

Thank god I was fucking crying I spent so long on my homework. Lifesaver.

Profile icon
Wumi4

Ctrl+Z if you are lucky?

Profile icon
JasonLiu19

You can go to version history, next to the repl name at the top left, then view your changes and restore.

Profile icon
StudioHawaii

thanks

Profile icon
StudioHawaii

ok