I have noticed that on Version Control window, in tabs Log and Local changes there is no information. Only following error appears:
Error updating changes: Cannot identify version of git executable C:\Program Files\Git\cmd\git.exe
When I have clicked Test in Settings > Version Control > Git, entered above path in Path to Git executable following window appeared: Link
After typing in CMD command git --version I get output:
git version 2.17.0.windows.1
What is more after writing some code Intellij is not highlighting changes.
I don't have any idea why it is not working... Any ideas?
For some reason, IntelliJ cannot get any output from the command line client. Something similar is reported - https://youtrack.jetbrains.com/issue/IDEA-82445
It might be caused by antivirus software or UAC.
For me, only invalidating caches and restarting intellij worked. :)
git --exec-path
to get your git path. Note: on Mac Os, use /
in finder to navigate easier.
i got the same problem, and the config is right,
git works just when i cut down the internet, it got from the IT part in my company.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.