SourceTree Open in Terminal error: mintty.exe Entry Point Not Found

SourceTree Open in Terminal error: mintty.exe Entry Point Not Found

我发现自己最近在办公电脑上经常使用 SourceTree 中的终端。然而,当我回到家时,我注意到这在我的笔记本电脑上不起作用,我收到的错误如下:

我尝试用谷歌搜索问题并重新安装 git 和 SourceTree,但没有结果。

我有一个类似的问题,如果不一样的话。发现 Sourcetree(或某些旧版本的 Sourcetree)包含 git 的可移植版本(自带 shell)。在我的情况下,该版本是 2015 年的。我希望我的系统上的其他地方升级或 PATH 变量排序问题导致某种 DLL 地狱。

我的解决方案:

  1. 首先安装 more official git 包。
  2. 打开 SourceTree,然后转到“SourceTree 选项”对话框,然后 导航至 Git 选项卡。
  3. 在组框 "Git Version" 内,单击按钮 "Use System Git"。

现在 SourceTree 将使用官方的 git 而不是 built-in 可移植的东西。现在您的终端按钮有可能再次起作用。