Skip to main content

builtin diff command

-u flag

Creates a "unified" diff view that plays nicely with the diff lexer in code blocks, for example:

--- ./path/to/left-side ...
+++ ./path/to/right-side ...
foo
+ bar
- baz
quux