1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 03:22:08 +02:00
tldr/pages/linux/diff3.md

12 lines
350 B
Markdown

# 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 {{[-A|--show-all]}} {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}`