[RESOLVED] I need help connecting Intellj to Git

已回答

I just installed Intellij for the first time - I have never used it before and am just getting started. 

I understand it has good Git integration but it is foiling me thus far.

In the menu I selected VCS-->Enable Version Control Integration

That prompted me to install Git but I already have Git installed on my Windows 11 PC. I clicked on the install option, hoping it would be able to find it but instead now I just get permission errors ("Couldn't git init")

I am too ignorant to know what to do to troubleshoot this. Is there a reference anyone would recommend here? Intellij's documentation seems to presume that I wouldn't have this particular problem, so it does not offer me any useful suggestions.

0

Is there a chance that you may have an antivirus software installed?
Under what user do you start IDE? Admin? If not, does it have sufficient rights to install software? 
Where is the project located?

1

Thanks for the suggestions, Ruslan! I am only using the built-in firewall and antivirus from Microsoft. I left the AV settings alone but temporarily disabled Windows Defender, then I launched IntelliJ with administrator privileges and was able to connect to my Git account without issue. I then re-enabled Windows Defender, closed out IntelliJ, and relaunched it (without administrator privileges) and was able to push/commit as needed.

Thanks again for the helpful suggestions!

0

请先登录再写评论。