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!
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
Stefan Cutajar7,747 Points
Why I'm not getting any response for git diff command?
Hi, I'm following jay and I got no response when typed git diff it looks like I just hit enter. Any idea what can bbe wrong please?
Jay McGavrenTreehouse Teacher
This would ordinarily only happen if there were no differences between the files in the working directory and those in the staging area.
When I run
git diff at https://teamtreehouse.com/library/adding-remotes?t=10 , the only reason changes are shown is that before recording the video, I went in and added several lines to the
medals.html file. If you want the same result, you can open
medals.html, add several lines of code (any code you like, it doesn't have to match the video), and save the file. Then your changes should appear when you run