From 1e74d2371fd392f549336b4b8bf53a39b463bdb5 Mon Sep 17 00:00:00 2001 From: Marcello Lamonaca Date: Sun, 4 Feb 2024 14:45:03 +0100 Subject: [PATCH] git: add `--word-diff` notes --- docs/misc/git.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/misc/git.md b/docs/misc/git.md index 98123a6..2c768c9 100644 --- a/docs/misc/git.md +++ b/docs/misc/git.md @@ -118,6 +118,7 @@ def load_reference(name_or_id): `git diff --cached`: show what is about to be committed `git diff ...`: 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)