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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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 ...

794 views 0 4
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