diff3
Compare three files line by line. More information: https://www.gnu.org/software/diffutils/manual/html_node/Invoking-diff3.html.
-
Compare files:
diff3 {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}
-
Show all changes, outlining conflicts:
diff3 --show-all {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.