Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I visualize per-character differences in Github diff view?

Tags:

github

Currently it only shows the lines that are different. Any way to make it visualize per-character difference inside these lines?

like image 568
user626528 Avatar asked Oct 20 '25 09:10

user626528


1 Answers

GitHub does that out of the box, see e.g. this changeset.

Here is a screenshot, just in case your monitor does not show the colours right:

Diff view with in-line changes highlighting

like image 165
kriegaex Avatar answered Oct 22 '25 04:10

kriegaex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!