Show Color Side by Side Diff
diff --color=always --minimal --side-by-side file1 file2
- Shows red/green diff of 2 files side by side
file1
is the first arg and so it is on the leftfile2
therefore is on the right
Write diff output to a file
diff --color=always --minimal --side-by-side file1 file2 > output_file.diff
Backlinks