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

My source tree is not working

When I tried to add a new repo, it just shows 'git status' failed with code -1:'launch path not accessible and I was not able to use sourcetree. Dont know how to fix this.

4 answers

1 accepted

8 votes
Answer accepted

That probably means that SourceTree isn't correctly configured to find the git utility. Go to Tools > Options..., then click the Git tab. At the bottom it should tell you what type of Git it is trying to use. If "System Git" is selected, try switching to "Embedded Git".

If you need to use an external Git utility, make sure it exists on your system $Path variable.

I found it and the fix worked! Thanks @Seth& @Aseem:)

I'd greatly appreciate if you'd hit the checkbox on my answer, since it sounds like it was the correct one :)

Hi Seth, thank you so much for your reply. But I didn't see the Tool tag and options you mentioned. Is it in the sourcetree menu bar?

If you're using SourceTree on a Mac, you'll have to look under Preferences (⌘,).

This happened for me after updating system git to 2.20.1. The accepted answer solved it for me.

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