Linux/diff

From Omnia
(Redirected from Diff)
Jump to navigation Jump to search

Color Diff

Color Diff with Less

diff --color=always | less -r
git diff --color=always | less -r

ref: https://unix.stackexchange.com/questions/19317/can-less-retain-colored-output