简体   繁体   中英

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. 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.

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). 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.

My solution:

  1. First install a more official git package.
  2. Open SourceTree, then go to the SourceTree Options dialog and navigate to the Git tab.
  3. Inside groupbox "Git Version", click the button "Use System Git".

Now SourceTree would use the official git instead of the built-in portable stuff. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM