$ git diff HEAD^ HEAD diff --git a/foo.txt b/foo.txt index fbe6624..1803e6a 100644 --- a/foo.txt +++ b/foo.txt @@ -1 +1 @@ -Ceci est une poule. +Ceci est un poulet. $ git diff --word-diff=plain HEAD^ HEAD diff --git a/foo.txt b/foo.txt index fbe6624..1803e6a 100644 --- a/foo.txt +++ b/foo.txt @@ -1 +1 @@ Ceci est [-une poule.-]{+un poulet.+}