git diff
0%

Git · Lesson 3

git diff

Learn to compare working-tree and staged versions of a file with git diff.

Status shows which files changed. Use git diff to see the lines that changed. In this example, index.html already contains a staged Hello heading from the previous lesson.