Search code examples
gitmacosintellij-ideamacos-sierramacos-high-sierra

How to fix git path after MacOS Sierra update?


I have just upgraded from OS X 10.11 "El Capitan" to 10.12: "Sierra", and when I open intellijIdea, I get the following error:

Can't start Git: /usr/bin/git Probably the path to Git executable is not valid.


Solution

  • My problem resolved after running xcode installation with following code from terminal:

    xcode-select --install