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.

3 answers

1 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 (⌘,).

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

273 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot