mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-24 01:02:09 +02:00
12 lines
304 B
Markdown
12 lines
304 B
Markdown
# diff3
|
|
|
|
> 逐行比较三个文件。
|
|
> 更多信息:<https://www.gnu.org/software/diffutils/manual/html_node/Invoking-diff3.html>.
|
|
|
|
- 比较文件:
|
|
|
|
`diff3 {{文件1}} {{文件2}} {{文件3}}`
|
|
|
|
- 展示所有的变化,同时列出冲突:
|
|
|
|
`diff3 --show-all {{文件1}} {{文件2}} {{文件3}}`
|