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

Ruby

Andre' Jones
Andre' Jones
26,671 Points

GIT HELP

My applications views were messed up so i wanted to get an earlier version. i did a git reset -hard ### and got everything to work but now the files that i am working on dont match the pages that are being displayed. HELP

2 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Andre' Jones when you do a git reset --hard it resets everything to your last commit. You may have to go back a few lessons to get everything working again :(

Andre' Jones
Andre' Jones
26,671 Points

What should I do if my view mess up like that again. It was displaying wedding characters ( or boxes and question marks etc ) instead of styling and html

Andre' Jones
Andre' Jones
26,671 Points

I finally reverted my changes I forgot the exact steps but eventually I had to do a git checkout and then change the branch Im not sure yet if it will cause problems deploying to heroku though.