Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,975
Community Members
 
Community Events
168
Community Groups

Unable to use Sourcetree after installation

After installing Sourcetree  getting the attached error. Could you please check and suggest what needs to be done for proper installation?

PFA screenshot of the error.Screen Shot 2018-12-05 at 12.45.44 PM.png

1 answer

0 votes
Ana Retamal Atlassian Team Dec 12, 2018

Hi Amrita, welcome to the Community!

Based on previous experiences, this error might be caused by Git. Can you go to Tools > Options > Git, and check whether you are using system or embedded Git, and whether you have an option to install an embedded Git.

While doing some research on this, I found a workaround that consists of creating a directory junction (hard link) for the embedded git Sourcetree tries to use.
In %userprofile%\AppData\Local\Atlassian\SourceTree create a directory junction using elevated command prompt named git_local to point to scoop's git location *path*\Scoop\apps\git\current

mklink /J %userprofile%\AppData\Local\Atlassian\SourceTree\git_local *path*\Scoop\apps\git\current

Then in source tree options, specify it to use embedded git.

Lastly, this problem was already reported in our issue tracker and you can follow it here.

Hope that helps!

Ana

Hey the command doesnt work even in an elevated cmd. It doesnt recognize /J .

Could you please suggest?

Also in the first part before userprofile should I give the full path like C:\Users\userprofile?

Suggest an answer

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,692 views 134 29
Read article

Atlassian Community Events