Linux/diff

From Omnia
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