git diff with combined –word-diff [duplicate]

The links in the comments shows ways to use extensions and 3rd party to do it.

There is a simple way by adding colors in your git config file. for example

[color "diff"]
    meta = yellow bold
    frag = magenta bold
    old = red
    new = magenta green

Of course you can set any supported color to your needs.

enter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)