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?
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 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.
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 ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot