如何配置Visual Studio以使用Beyond Compare对于如何配置Visual Studio以使用Beyond Compare有一个很好的答案。但是,这些步骤的UI在Visual Studio 2013中已更改。部分原因可能是由于我将Git用于我的SCM,而VS 2013现在具有本机Git支持。
有谁知道如何配置VS 2013以使用“超越比较”?
至少对于VS 2012,您实际上可以从Scooter网站上显示的命令提示符进行更新。http://www.scootersoftware.com/support.php?zz=kb_vcs#gitwindows
如果您在VS中使用Configure User Tools安装了msysgitVS,则Git的路径可能是:
C:\ Program档案(x86)\ Git \ cmd \ git.exe
对于Git 1.7.6及更高版本,请编辑全局配置文件以设置路径。在Windows命令提示符下,输入以下命令:
对于超越比较v3,请使用:
git config --global diff.tool bc3
git config --global difftool.bc3.path“ c:/程序文件(x86)/超出比较3 / bcomp.exe”
如果您拥有PRO许可证,还可以执行以下操作:
git config --global merge.tool bc3
git config --global mergetool.bc3.path“ c:/程序文件(x86)/超出比较3 / bcomp.exe”
然后,在Visual Studio中进行比较时,它将使用BeyondCompare。
对于超越比较v4,请使用:
git config --global diff.tool bc4
git config --global difftool.bc4.cmd“ \” c:/程序文件(x86)/ beyond compare 4 / bcomp.exe \“ \” $ LOCAL \“ \” $ REMOTE \“”
和
git config --global merge.tool bc4
git config --global mergetool.bc4.cmd“ \” c:/程序文件(x86)/超越比较4 / bcomp.exe \“ \” $ LOCAL \“ \” $ REMOTE \“ \” $ BASE \“ \ “ $ MERGED \”
git config --global mergetool.bc4.trustExitCode是
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句