Linux/diff: Difference between revisions

From Omnia
Jump to navigation Jump to search
(Created page with "== 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...")
 
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:


ref: https://unix.stackexchange.com/questions/19317/can-less-retain-colored-output
ref: https://unix.stackexchange.com/questions/19317/can-less-retain-colored-output
== patch and diff ==
See [[Linux/patch]]

Latest revision as of 16:33, 21 April 2026

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

patch and diff

See Linux/patch