Git · Everyday workflow
git diff
Shows unstaged changes. Use --staged for what will be committed and --stat for a summary.
Syntax
git diffExample
Example
git diff git diff --staged git diff --stat
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.