Hacker News new | ask | show | jobs
by LfLxfxxLxfxx 1506 days ago
By default git diff works on entire lines, but try this:

    git diff --word-diff=color --word-diff-regex=.
It highlights only the parts that have actually been changed/added/deleted.