git diff --color-words separate removals and additions, get counts of each

26 views Asked by At

Here's a screenshot of a diff GUI tool that I'd like to replicate from the command line:

enter image description here

git diff --color-words looks promising, but I get both removals and additions together like this: enter image description here

  1. How can I get removals and additions into separate paragraphs?
  2. How can I use highlighting instead of coloring the text?
  3. How can I get a count of both the number of removals and additions?
0

There are 0 answers