Student accidentally deleted code - any way to get prior version of program?
kmcleod (2)

Hi! One of my students just emailed me that they were working on their final project and they accidentally deleted 100 lines of code from their program. Is there any way for them to access prior versions of their code so that they can reconstruct what they deleted?

Thanks!
Kate

You are viewing a single comment. View All
eankeen (798)

Not sure if you found the solution, but the button can be hidden away. It might also be called "saved".

Once you click on it, then you can access the history mode. On the left sidebar, there's some "change file" text.

Once you click on that, then you can restore a specific file to a specific point in time. I don't think you revert the whole repl though - only a specific file.