Search code examples
gitgithubintellij-idea

IntelliJ - Git is not installed: Cannot identify version of git executable: no response


I'm using IntelliJ on my MacBook and get this message every time I open the app. I already checked the Preferences > Version Control > Git under "Path to Git executable" and set this path to the path that is shown in my terminal for whereis git. Also, testing the path in the IntelliJ settings returns a "Git version is 2.30.1". What else can I do to fix this problem?


Solution

  • In my case, the IDE seems only be able to recognize the path of git as /usr/local/bin/git, but git is installed at /usr/bin/git. So I made a softlink between of them.

    sudo ln -s /usr/bin/git /usr/local/bin/git