git-diff(1) on Linux
The text 853d71864b64, as Debian 11 (Bullseye) shipped it.
Show changes between commits, commit and working tree, etc
Flags it lists
-
--abbrev -
--anchored -
--binary -
--check -
--color -
--color-moved -
--color-moved-ws -
--color-words -
--compact-summary -
--cumulative -
--diff-algorithm -
--diff-filter -
--dirstat -
--dirstat-by-file -
--dst-prefix -
--exit-code -
--ext-diff -
--find-copies -
--find-copies-harder -
--find-object -
--find-renames -
--full-index -
--function-context -
--histogram -
--ignore-all-space -
--ignore-blank-lines -
--ignore-cr-at-eol -
--ignore-space-at-eol -
--ignore-space-change -
--ignore-submodules -
--indent-heuristic -
--inter-hunk-context -
--irreversible-delete -
--ita-invisible-in-index -
--line-prefix -
--minimal -
--name-only -
--name-status -
--no-color -
--no-color-moved -
--no-color-moved-ws -
--no-ext-diff -
--no-indent-heuristic -
--no-patch -
--no-prefix -
--no-relative -
--no-renames -
--no-textconv -
--numstat -
--output -
--output-indicator-context -
--output-indicator-new -
--output-indicator-old -
--patch -
--patch-with-raw -
--patch-with-stat -
--patience -
--pickaxe-all -
--pickaxe-regex -
--quiet -
--raw -
--relative -
--shortstat -
--src-prefix -
--submodule -
--summary -
--text -
--textconv -
--word-diff -
--word-diff-regex -
--ws-error-highlight -
-0 -
-C -
-D -
-M -
-R -
-W -
-X -
-a -
-b -
-p -
-s -
-u -
-w -
-z