It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Upgrade Mintty to latest version?

The terminal application which came with Sourcetree 3.0.17 shows there is a newer version; Mintty 2.9.6  ( I now have 2.8.5).

Is it save for me to upgrade it, or should I wait for a newer version of Sourcetree which might upgrade it?

How is the Mintty terminal version managed anyway?

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
minnsey Atlassian Team Feb 06, 2019

Hi

Sourcetree doesn't manage that we simply call the Git Bash terminal. So any upgrade will come through Git for Windows updates.

I'm not sure if I understand.

Prior installing SourceTree, I didn't have Git or Mintty. After installing SourceTree I did.

I found the git executable in my windows home directory, under Atlassian\SourceTree\git_local. Also the Mintty is installed in git_local.

So for me, both Git and Mintty came included in SourceTree.

I don't see any way to upgrade either one via some Windows installer or anything. The programs are not listed in the Windows 'Programs and Features', but SourceTree is.

I can however choose to Update the Embedded Git version from within SourceTree (via Tools, Options, Git, Git Version). But I don't know if that upgrades Git from 2.18 to 2.20.1 or whatever version.

Could you please explain a little further what you mean?

Also, if I would upgrade manually both Git and Mintty to the latest version, is SourceTree affected in any way?

minnsey Atlassian Team Feb 07, 2019

Sure.

Mintty is part of the Git for Windows distribution. The Git for Windows version controls what version of Mintty you have, but yes Sourcetree does control what embedded version of Git for Windows you have.

Sourcetree has the ability to install it's own copy of Git into the git_local folder. The verison of Git used for that is hardcoded into the Sourcetree release, so running the Update Embedded Git option will update older versions of Git but not past that specificed version.
For example Sourcetree 3.0.17 specifies Git 2.20.1
 
Sourcetree also has the ability to work with an externally installed copy of Git for Windows. So you can download whatever version, within reason, you like from https://git-scm.org and install it. In Sourcetree you can then use the System option in the Tools/Options/Git tab to configure Sourcetree to use that external copy of Git. If the Git is available on the PATH it will find it automatically, otherwise you can find it yourself. 

Sourcetree should continue to function correctly if you do this.

This functionality allows users to either keep their Git version uptodate faster than Sourcetree releases or potentially stay on an older version of Git. 

Like kxk4xyh likes this

Aha! I get it. Thank you very much!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,935 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you