12 lines
332 B
Markdown
12 lines
332 B
Markdown
# diff3
|
|
|
|
> 按行比较三个文件。
|
|
> 更多信息:<https://www.gnu.org/software/diffutils/manual/html_node/Invoking-diff3.html>。
|
|
|
|
- 比较文件:
|
|
|
|
`diff3 {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}`
|
|
|
|
- 显示所有更改,概述冲突:
|
|
|
|
`diff3 --show-all {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}` |