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

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms

  • macOS
  • Windows

19.jpg

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 bundled releases as current as possible but there may be times when you'd like to use a different version than the embedded one.

Mac Prefs 2.pngWindows Prefs.png

It's easy to switch dependencies on either platform, just:

  1. Download and install your preferred dependency (see Additional Resources, below)
  2. Open the Git or Mercurial settings in Sourcetree
  3. Switch to "System" by clicking the appropriate button
  4. Choose the dependency:
    • On macOS, we'll automatically select the default location in a file chooser
    • On Windows, we'll automatically detect default location and only show a file chooser if necessary
  5. Confirm the version information displayed is correct

These changes take effect immediately - you don't need to restart Sourcetree. 

Because the embedded version of a dependency associated with an installed Sourcetree on Windows may not always be the latest preferred version of Git when updating, we recommend following the instructions on this page should the need arise.

Note: we strongly encourage switching back to Embedded Git or Mercurial once it's the same as or newer than your system installation

Additional Resources:

2 comments

I updated the embedded git to 2.17.1.2 but the Git Tab still shows 2.17.1/LibGit2Sharp

The notification flag still shows the notification to update when I have already done so. The Appdata folder has the updated exe files.

Comment

Log in or Sign up to comment
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,924 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