Files
tldr/pages.zh/common/meld.md

28 lines
662 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# meld
> 图形化的差异比较和合并工具。
> 更多信息:<https://meldmerge.org/>.
- 启动 `meld`
`meld`
- 比较两个文件:
`meld {{路径/到/文件_1}} {{路径/到/文件_2}}`
- 比较两个目录:
`meld {{路径/到/目录_1}} {{路径/到/目录_2}}`
- 比较三个文件:
`meld {{路径/到/文件_1}} {{路径/到/文件_2}} {{路径/到/文件_3}}`
- 在已有的 meld 实例中以新标签页打开比较:
`meld --newtab {{路径/到/文件_1}} {{路径/到/文件_2}}`
- 比较多个文件集:
`meld --diff {{路径/到/文件_1}} {{路径/到/文件_2}} --diff {{路径/到/文件_3}} {{路径/到/文件_4}}`