Is git difftool on binaries possible? If so, how does one configure it?

和自甴很熟 提交于 2019-12-08 05:52:26

问题


I've been following guides like these here and here on how to diff binaries in git - more specifically .odt files and microsoft word files.

They have allowed me to $git diff <commit> on .odt files and microsoft word files to display the difference in the terminal; however their methods don't seem to work with $git difftool <commit> on binary files, such as .odt files or .docx files.

Ideally I would like to display the text diff of .odt files or .docx files in an external program such as kdiff3 or vimdiff from git.

Is this possible? Has anyone been able to correctly display the text of binary files in an external program from git? If so, any advice on how to configure difftool for binaries?

来源:https://stackoverflow.com/questions/34098218/is-git-difftool-on-binaries-possible-if-so-how-does-one-configure-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!