Git · Inspection
git diff --word-diff
Highlights changed words instead of whole lines, which is easier for prose.
Syntax
git diff --word-diffExample
Example
git diff --word-diff README.md
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.