目录

idea更新git代码报错No-Git-Roots

目录

idea更新git代码报错No Git Roots

idea更新git代码报错:

No Git Roots
None of configured Git roots are under Git.
The configured directory must have ".git'
directory in it.

但是本地项目里是存在.git文件的,就是突然间不能更新代码了

然后尝试重新拉新项目代码提示:

Git is not installed
Cannot identify version of git executable: no response

解决:手动重新选择git.exe文件并重启idea

https://i-blog.csdnimg.cn/direct/037e35ec5f6e4683863a4be35e842571.png