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.
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.
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 (⌘,).
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
This happened for me after updating system git to 2.20.1. The accepted answer solved it for me.
It looks like you're new here. Sign in or register to get started.