处理IDEA 找不到 git.exe : Cannot Run Git File not found: git.exe

在这里插入图片描述

打开Intellij Idea 找不到git.exe,解决方法如下:

1、首先要保证下载git客户端,下载地址为:https://git-scm.com/download/win
  
  如果装的是github的客户端,需要指定的目录是GitHub内部使用的PortableGit目录,或者在Intellij Settings -> Version Control直接配置GitHub的账号。

2、选择file->setting:
在这里插入图片描述
3、单击test,显示如下,证明配置正确:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_41709378/article/details/107445903