I updated my mac to macOS Mojave version 10.14, I already had Xcode installed in the previous OS version and now while I run intelliJ this error is thrown:-
Can't start Git: /usr/bin/git Probably the path to Git executable is not valid. Fix it
I updated my mac to macOS Mojave version 10.14, I already had Xcode installed in the previous OS version and now while I run intelliJ this error is thrown:-
Can't start Git: /usr/bin/git Probably the path to Git executable is not valid. Fix it
To solve this problem you need to install xcode developer tools.
Run this command, the problem will be fixed:
xcode-select --install
I had the same problem after upgrade and this solved it.
I performed the following steps to solve this problem:
sudo xcode-select --switch /Application/Xcode.app/Contents/Developer (this step may be optional)sudo xcodebuild -licenseagree and press enterI hope this helps others!