Terminal not opening

I just installed Source Tree on Windows 8.1, opening the terminal doesn't works. Neither the button in the ribbon, or actions or pressing shift+alt+T, opens the terminal.

 

What can I do to fix this ?

7 answers

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:

  • open an existing repository ;
  • or create a new dummy repository : "Clone / New" / "Create New Repository" then click on the terminal button. You can safely delete the dummy repository after that.

I also had the same problem with SourceTree 2.3.1.0 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.

Version 2.4.7.0

We are three developpers to have the same behavior here! Is someone have a solution?

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 1.7.0.32509, and Git-2.7.0-64-bit.Also have Tortoise Git installed (1.8.16.0-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. 

We have the same Problem with the new Sourcetree version 1.8.2.3.

Win7

Same problem with 1.8.2.11, Windows 7 64-bit.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

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

567 views 1 2
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you