[英]SourceTree Open in Terminal error: mintty.exe Entry Point Not Found
I found myself using the Terminal in SourceTree a lot recently on my office pc. 我最近在办公室电脑上发现自己经常在SourceTree中使用终端。 When I got home however, I noticed this does not work on my laptop, the error I receive is the following:
但是,当我回到家时,我发现这在笔记本电脑上不起作用,出现以下错误:
I have tried googling the problem and reinstalling git and SourceTree, with no results. 我尝试谷歌搜索问题并重新安装git和SourceTree,但没有结果。
I had a similar problem, if not the same. 我有一个类似的问题,即使不一样。 Found that Sourcetree (or some older version of Sourcetree) includes a portable version of git (that comes with its own shell).
发现Sourcetree(或Sourcetree的某些旧版本)包含git的可移植版本(带有其自己的shell)。 In my case that version was from 2015. I expect an upgrade elsewhere on my system or a PATH variable ordering problem caused some kind of DLL hell.
就我而言,该版本是从2015年开始的。我希望系统上其他地方的升级或PATH变量排序问题导致某种DLL地狱。
My solution: 我的解决方案:
Now SourceTree would use the official git instead of the built-in portable stuff. 现在,SourceTree将使用官方的git而不是内置的可移植内容。 There is now a chance your terminal button works again.
现在,您的终端按钮就有机会再次起作用。
I found a workaround. 我找到了解决方法。
Even though the terminal button does not work, I can still go to the folder where the repository is located and run git from there using the command line. 即使终端按钮不起作用,我仍然可以转到存储库所在的文件夹,并使用命令行从那里运行git。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.