Reset

Learn how to reset the workspace.

We'll cover the following

How to reset the workspace?

In our previous lesson, we discussed the persistence of the /usercode directory of the workspace. Let’s see how we can revert a project back to its default state. For that, we are considering the following example of a live project on the Educative platform.

Press + to interact
Start project
Start project

Once a project is started, we can reset it by clicking the “Reset Project” button from the upper-right corner of the project.

Press + to interact
Reset the project
Reset the project

As annotated above, the “Reset Project” button will reset the project, and all the interactions, including the changes in the /usercode directory, will be reverted back to the default state of the project.