git: add --word-diff notes

This commit is contained in:
Marcello 2024-02-04 14:45:03 +01:00
parent 889777e916
commit 1e74d2371f
No known key found for this signature in database

View file

@ -118,6 +118,7 @@ def load_reference(name_or_id):
`git diff --cached`: show what is about to be committed
`git diff <first-branch>...<second-branch>`: show content diff between two branches
`git diff -w|--ignore-all-space`: show diff ignoring whitespace differences
`git diff --word-diff`: show diff word-by-word instead of line-wise
`git bisect`: binary search history (e.g. for regressions)