0

How can I show the diff between two commits in an inline fashion, such that it looks like StackExchange's edit diffs, on GitHub's website?

At the moment GitHub is showing me linewise diffs. I only get to see the lines that are changed, it's less obvious which words were swapped out.

I guess like git --color-words=. but online instead of locally.

Instead of this

enter image description here

I want this

enter image description here

mkrieger1
  • 19,194
  • 5
  • 54
  • 65
theonlygusti
  • 11,032
  • 11
  • 64
  • 119

0 Answers0