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

Unable to clone Git repository from Sourcetree Edited

I've tried to clone a new repository on Sourcetree but I'm unable to proceed as it is throwing a fatal error. I checked Options under Tools on Sourcetree and it is using System Git.

clone error1.PNG

When I click the details button, a wiondow popped-up as below

clone error2.PNG

Please look into this issue and kindly help.

 

1 answer

0 votes
Ana Retamal Atlassian Team Dec 12, 2018

Hi Manasa, 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 for more updates.

Hope that helps!

Ana

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,902 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