my sourcetree got some error when I try to open my repo:'git log' failed with code -1:'launch path not accessible
I am not sure whether I made a mistake in deleting some file to cause this thing, anyway ,now how can I do to solve this error?
I didn't have to reinstall git I just had to tell SourceTree what git executable to use. I'm on OSX Yosemite (10.10.3) with a Homebrewed git install so I opened SourceTree and navigated to SourceTree...Preferences and selected the Git Tab. I then clicked "Use System Git" and navigated to /usr/local/Cellar/git/2.3.5/bin/git.
When you say you cleared trash, did that trash include ".git" folders? If so, you've deleted your repositories, and you'll have to re-clone then from your remotes. Your working copy should still be present, so you can use that to recover any changes that weren't pushed to the server.
I have the same exact issue with Sourcetree and when I go to Tools\Options\Git under Git Version, the "System" button is grayed out. I was just trying it out to see if I liked it better than GitHub Desktop and it seems like it might be but it is so much more difficult to get setup correctly and I lost my patients with it.
I give up for now but if somebody is able to help me on here I will give it another chance.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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