gpt4 book ai didi

git - Visual Studio 2015 Git "Failed to start the configured compare tool."

转载 作者:行者123 更新时间:2023-12-04 13:48:04 26 4
gpt4 key购买 nike

我想对项目中的文件运行差异,这应该是一项简单的任务,当我选择与未修改的比较时,出现错误:

Source Control - Git
Failed to start the configured compare tool.


我查看了 VS2015 自动生成的 .gitconfig 文件,据我所知,它没有任何问题。
[merge]
tool = vsdiffmerge
[diff]
tool = vsdiffmerge
[core]
editor = \"C:/Program Files (x86)/GitExtensions/GitExtensions.exe\" fileeditor
autocrlf = true
[credential]
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[difftool]
prompt = false
[difftool "vsdiffmerge"]
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t
[difftool "vsdiffmerge"]
keepbackup = false
[mergetool]
prompt = false
[mergetool "vsdiffmerge"]
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\vsdiffmerge.exe\" \"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //m
trustexitcode = true
有什么想法吗?

最佳答案

重新启动 Visual Studio 为我解决了问题
我正在使用 Visual Studio 2019

非常一般的建议(可能有助于或无助于解决此特定问题)

  • 更新 Git
  • 更新 GitHub 扩展
  • 更新 Visual Studio
  • 关于git - Visual Studio 2015 Git "Failed to start the configured compare tool.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32263665/

    26 4 0
    文章推荐: 带有网络存档的 Python 报纸(回归机器)
    文章推荐: wpf - 即使用户控件折叠/隐藏也会显示错误样式
    文章推荐: json - 使用circe状态转换JSON
    文章推荐: ruby-on-rails - Ajax 调用