From 6c2214b7def63b275837b3acc5a635994022f6ac Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Fri, 17 Jan 2020 07:56:21 -0800 Subject: [PATCH] followup on #10435 : should be diff, not show (#13162) --- doc/contributing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/contributing.rst b/doc/contributing.rst index 9778df843..d43cd6196 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -428,7 +428,7 @@ Code reviews .. code-block:: sh git fetch origin pull/10431/head && git checkout FETCH_HEAD - git show --color-moved-ws=allow-indentation-change --color-moved=blocks HEAD^ + git diff --color-moved-ws=allow-indentation-change --color-moved=blocks HEAD^ 3. In addition, you can view github-like diffs locally to identify what was changed within a code block using `diff-highlight` or `diff-so-fancy`, e.g.: