How To Delete "Cannot Run Git Git Is Not Installed" Warning

Answered

I am using Intellij to edit my github project files, but I'm using Cygwin's inbuilt git to actually push, commit, etc. However, Intellij notices that git isn't installed and no matter how many times I delete the warning it still comes up. I handled it for a while, but now it's starting to get a little annoying.

The warning is at the bottom right. How can I tell it that I don't want git installed?

4
21 comments

Please double-check Preferences | Version Control | Git and try to specify the full path to git executables once it's done, click "Test" and see whether Git is detected.

-4

But I don't want to add a git executable. I'm fine using Cygwin to do basic git stuff. I just want to make it stop giving the error at the bottom right.

1

There are few ways to disable it:
- You can go to Preferences | Version Control, choose your root, and then click on Minus sign in the left lower corner. It will disable the Version Control system.
- You can specify git executable and the notification won't appear
- You can click on a gear icon on this pop-up message and in popup column choose "no popup"

0

I have same problem on Mac OS. Path is correctly set in preferences and when I click Test I get git version. But error message is still showing up in Event Log. Ruslan Kuleshov disabling version control is not a solution. I want to use git, but don't want errors to show up for no reason.

3

This is interesting. I wanted to have fresh idea.log to submit ticket, so I closed phpstorm, removed idea.log file and started phpstorm again. Now I am not getting errors about git version.

0

Having same problem with Datagrip 2020.3 on Linux

1

I have the sam problem on macOS Big Sur 11.1 with PhpStorm 2020.3

2

Having same problem with Datagrip 2020.3 on Linux

 
0

Same problem here with 2020.3.2 Ultimate on macOS Big Sur 11.0.1. I've never had this until the most recent IDEA update.

1

Same problem with IDEA 2021.1.2 and MacOS Bug Sur. Restarting IDE helps (sometimes).

1

Same problem on Rider.

Even though it is able to detect GIT properly in the settings.

Running GIT Version 2.30.1 on OSX, Rider 2021.2 Build #RD-212.4746.113

3

I have the Same problems That above! SomeTimes it resolves by rebooting! Я имею те же проблемы, что показаны на скрине выше, иногда решаются перезагрузкой!

0

Vi Nepomuceno When I noticed this problem I already had setup git path correctly. Your solution is not helping. There is an open support case about this: https://youtrack.jetbrains.com/issue/IDEA-248193

0
Avatar
Permanently deleted user

This happens now after every time I restart my MAC. Quitting and re-opening fix the issue, but it's super annoying. Any ideas? 

1

Shlomi, for now as a workaround you can use git from Homebrew. Please vote for the ticket mentioned above:
https://youtrack.jetbrains.com/issue/IDEA-248193

0

I do have Git installed via Homebrew, and I do have same problem, as described above.

How it should help to workaround the IDEA issue with too much concurrent actions happening during project load sequence? Most often this error happens during "Spring configuration check" step, which most likely eats too much of the resources.

MacOS BugSur 11.6
IDEA 2021.2.3
git version 2.24.3 (Apple Git-128)

1

Vadim Starichkov Could you please clarify whether you have /usr/local/bin/git specified under Preferences | Version Control | Git?

git version 2.24.3 (Apple Git-128)

This shows that you are using Xcode git, not Homebrew git.

Do I understand correctly that it doesn't happen on wake up of your mac, but rather high-load actions?

0

Ruslan Kuleshov Yep, posted wrong output, sorry! IDEA is using

/usr/local/bin/git

which is

git version 2.33.1

Do I understand correctly that it doesn't happen on wake up of your mac, but rather high-load actions?

Yes, correct, this error happens (for me) only during "Project loading" sequence, and especially during "Spring configuration check" step.

1

Vadim Starichkov Please feel free to submit a ticket with logs attached. 

0

Please sign in to leave a comment.