Note that SourceTree does not start the terminal when not in a repository (e.g. fresh install, no repo yet).
To enable the terminal, either:
I also had the same problem with SourceTree 18.104.22.168 and Git 2.14.1 - Git bash not started correctly for existing repositories.
I've added Git folder to the environment's PATH, but this didn't solved the problem, next I uninstalled and installed again SourceTree (didn't help)
So i created an empty repository and... terminal worked correctly with it.
Then I copied existing repository into the newly created repository (overwrote all files) and... terminal started correctly (why it didn't work before? I don't know). It looks like and internal SourceTree's error.
And now is the best: I removed all repositories from SourceTree and instead Add command I dragged and dropped them again into SourceTree and... terminal window started working correctly.
This worked for me, as well.
I removed my bookmarked repo and tried adding it back using the Add button and dialog. The terminal command did not launch anything.
Then I removed the bookmarked repo again and tried adding it back by dragging the folder into my repo folder. Then the terminal command started working.
We're having the same problem here as well, it seems to be a little random, and some people have found that it suddenly started working again, but we don't know what caused it to start working either (theory that changing from "Use System Git" to "Use embedded Git" fixed it doesn't seem to work and was the only real lead we had).
We're on Windows 7 64-bit, SourceTree 22.214.171.124509, and Git-2.7.0-64-bit.Also have Tortoise Git installed (126.96.36.199-64bit).
I, and others in my team are seeing the same problem as Chris.
For the record - the terminal button opens git-bash by default, and you can manually open it by running the corresponding executable. If you are using system git on windows the default location should be C:\Program Files\Git\git-bash.exe.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs