打印与差异比较 [英] Print compare with differences

查看:72
本文介绍了打印与差异比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以打印比较差异? 



我似乎无法找到办法。 我可以复制和粘贴并放入excel但它没有显示差异。



谢谢

解决方案


我知道的唯一可能性是至少在你想要导出的时候使用自定义比较工具/打印比较。如何更改比较工具取决于您拥有的存储库类型。


如果是git:


更改".gitconfig"在您的用户目录中(C:\ Users \< UserAcount>) 到以下内容:

 [diff] 
tool = diffmerge
[difftool" diffmerge"]
cmd = \" C:\\Program Files(x86)\\WinMerge \\WinMergeU.exe \" \"

LOCAL\" \"

REMOTE\"
[mergetool]
keepBackup = false

如果是TFVC:


转到Visual Studio设置(工具 - >选项)


< sub>< / sub>< sup>< / sup>< strike>< / strike>


在此对话框中配置自定义比较工具。


使用一些支持所需导出/打印功能的比较工具。


只是提到它:在  gitconfig示例中使用了WinMerge。这只是一个例子,在野外还有很多非常好的比较工具。这应被视为WinMerge的推广。


问候,


David



Is it possible to print the compare with the differences? 

I can't seem to find a way to do it.  I can copy and paste and put in excel but it doesn't show the differences.

Thank you

解决方案

Hi,

the only possibility I know is to use a custom compare tool at least for the time you want to export / print the comparison. How to change the compare tool depends on which type of repository you have.

In case of git:

Change the ".gitconfig" in your user directory (C:\Users\<UserAcount>) to the following:

[diff]
    tool = diffmerge
[difftool "diffmerge"]
    cmd = \"C:\\Program Files (x86)\\WinMerge\\WinMergeU.exe\" \"


LOCAL\" \"


REMOTE\" [mergetool] keepBackup = false

In case of TFVC:

Go to the Visual Studio Settings (Tools->Options)

<sub></sub><sup></sup><strike></strike>

Configure here in this dialog your custom compare tool.

Use some compare tool which supports the needed export / print functionality you need.

Just to have it mentioned: In the gitconfig example WinMerge is used. This is only an example and there are plenty also very nice compare tools out there in the wild. This should be seen as a promotion of WinMerge.

Regards,

David


这篇关于打印与差异比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆