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 trialJazz Borromeo
876 Pointsroot directory
I accidentally deleted a few files from the root directory, is there anyway to retrieve those files back?
1 Answer
Jonathan Grieve
Treehouse Moderator 91,253 PointsIf you;re using Workspaces you could try restarting a fresh workspace from a previous video and maybe copy the files back. You should be able to create new files from the interface there and then work your way back to where you were before.
If you're working locally with git and your text editor you can try git checkout
to get back ro the version your staging area with your last commit that has the files.
Or they could simply be in your systems' recycle bin.