如何将 Excel 个文件 (.xlsx) 与 Kdiff3 进行比较?

How to compare Excel files (.xlsx) with Kdiff3?

如图所示,我在源代码树中添加了 Kdiff3 作为我的外部差异工具。

但是当我 select 从 Master 提交两次并单击 Actions 的 External Diff 时,kdiff3 显示不可读的文本,如图所示。

您似乎在尝试比较两个 Excel 文件。此类文件以二进制格式存储,无法使用专为比较文本文件而设计的工具(例如 kdiff 或 winmerge)进行比较。

要比较两个 Excel 文件,请使用 Excel 本身:https://support.office.com/en-ca/article/Compare-two-versions-of-a-workbook-by-using-Spreadsheet-Compare-0e1627fd-ce14-4c33-9ab1-8ea82c6a5a7e

为了比较 SOurceTree 中的 excel 文件,我使用了 WinMerge(连同插件,比较 excel 文件),它是 http://freemind.s57.xrea.com/xdocdiffPlugin/en/

的免费工具