Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP Basics (Retired) What is PHP? Intro to Workspaces and PHP Code

Resetting a Workspace

Is there a way to reset a Workspace to the state corresponding to the very start of a course?

For example, I start a course but I don't complete it. Some time passes and I come back to the course kinda "cold".

Would like to start the course from the very beginning with a "virgin" Workspace.

Any way to accomplish this?

Thanks,

Dale

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Dale,

Reset ... no. Start over ... yes.

If you launched the Workspace from within the course, all changes are saved as you progress through the course. If you go back to the beginning of the course and click "launch workspace" again, the one you have been working on will be the one to launch (including all your saved progress).

What you will need to do is click on the Workspaces link the the left nav bar (has <>) symbol. This will take you to all you saved Workspaces. Locate the one that is associated with the course you are wanting to start over. On the left side, there will be a 'gear' symbol. If you click on that you will get a pop-up that has the option to "delete workspace." Go ahead and delete it (MAKE SURE IT'S THE RIGHT ONE. THIS CAN'T BE UNDONE).

Once the Workspace is deleted, go back to the beginning of the course and "launch workspace." This will now be the original workspace for the course.

Hope this helps. Keep Coding! :)