yt.
yt.

Reputation: 437

'Git is not installed' on intellij

Hi i am trying to link up my a java group project from github to intellij. However i keep getting this issue with Git, i download it but then i try again and it asks me to download it again?

enter image description here

I've looked up the 'Paths to Git executable' and this is what it shows

enter image description here

But i really don't understand why this is not working. I am new to github and would really appreciate some help on this!

Upvotes: 27

Views: 47714

Answers (8)

Jamison Jia
Jamison Jia

Reputation: 1

For me, I just opened git Window by clicking Settings->Version Control->Git, and just hit Test button, it works (Rider 2024.3.3)

enter image description here

Upvotes: 0

universvm
universvm

Reputation: 472

If you get this on Mac although git is installed, this worked for me:

/usr/sbin/softwareupdate --install-rosetta --agree-to-license 

Upvotes: 0

Bigeyes
Bigeyes

Reputation: 1686

If you see the message: "Hey!! you need to set exclusions in Windows defender or else it will impact my performance". Please ignore Microsoft Defender or Added exclusions in Windows defender.

I think that it impacted the git.

Upvotes: 1

Francis Bacon
Francis Bacon

Reputation: 4785

For me, I can see the git is installed on me, but somehow Android Studio could not find it.

in Android Studio, File -> Invalidate Cache -> Invalidate and Restart

Will fix the issue for me.

Upvotes: 19

Nikhil Tank
Nikhil Tank

Reputation: 1

Manually updating the path for git in Intellij worked for me.

Upvotes: 0

ahmetcgl
ahmetcgl

Reputation: 486

I noticed that I had the same problem after installing Github Desktop for a few days. I uninstalled it because I was just testing it anyway and found my git in my system by the following code:

which git

That command showed me the following output:

/usr/bin/git

So I entered this into 'Path to Git executable' in the Preferences > Version Control > Git. And restarted the IDE. Everything works now...

Upvotes: 47

xc0n42
xc0n42

Reputation: 101

Preferences -> Plugins Deactivate the bundled Git plugin, restart PhpStorm and activate it again

This solved the issue on my Mac.

Upvotes: 9

Splint
Splint

Reputation: 11

I believe you should have a dedicated Git client installed. The official client can be found at: https://git-scm.com/

Upvotes: 0

Related Questions