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

Development Tools Git Basics Getting Started With Git Looking Back on What We've Done

Jordan Powell
PLUS
Jordan Powell
Courses Plus Student 5,410 Points

Why did it show me the updates

I used the git log to view the commits. I used git checkout ##### to view a specific log, but when i used the cat function It showed the changes. Why is it doing that?

1 Answer

Nikola Jankovic
Nikola Jankovic
10,793 Points

I don't understand your question very good, so I will try to explain in general. When you use git checkout on a specific commit that is like "traveling through time" when the change happened. If you want to see state after last commit type git checkout master...