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

General Discussion

how to step backwards in workspace or recover a previous version?

i kept receiving errors in my workspace when trying to rename a folder. It resulted in me trying to start a new workspace, but now all of the tutorial files are missing. Frustrating. Is there a way to recover an old workspace and step backwards to a previous version of it?

1 Answer

Eric M
Eric M
11,545 Points

Hi Vantiv,

While I'm not 100% about this I don't believe there's any verison control for workspaces (unless you've manually forked a workspace at a previous point, in which case both versions will be available).

You could start forking workspaces more often, though this is a little messy and will cause you to quickly run up against the 100 saved workspaces limit.

Alternatively you could setup a local development environment on your computer and utilse git to keep track of your project. Not only will this give you the ability to step backwards through changes to your projects but it will also give you experience with what's currently the most popular version control system in the world. Git is used by professional programmers and programming teams just about everywhere.

Treehouse has a good primer on git in the Introduction to Git Course.

Good luck and happy coding!

Eric