idea更新git代码报错No Git Roots

idea更新git代码报错:

shell 复制代码
No Git Roots
None of configured Git roots are under Git.
The configured directory must have ".git'
directory in it.

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

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

shell 复制代码
Git is not installed
Cannot identify version of git executable: no response

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

相关推荐
五阿哥永琪3 小时前
Git 开发常用命令速查手册
大数据·git·elasticsearch
sszdlbw3 小时前
后端springboot框架入门学习--第二篇
java·spring boot·学习
阿拉斯攀登3 小时前
MyBatis 全面解析 & Spring Boot 集成实战
java·spring boot·mybatis·持久层框架
A尘埃3 小时前
Java业务场景(高并发+高可用+分布式)
java·开发语言·分布式
白仑色3 小时前
java中的anyMatch和allMatch方法
java·linux·windows·anymatch·allmatch
刃神太酷啦3 小时前
C++ list 容器全解析:从构造到模拟实现的深度探索----《Hello C++ Wrold!》(16)--(C/C++)
java·c语言·c++·qt·算法·leetcode·list
wearegogog1233 小时前
C# 条码打印程序(一维码 + 二维码)
java·开发语言·c#
码农阿豪3 小时前
用 PlaylistDL 攒私人音乐库?加个 cpolar,出门在外也能随时听!
java
LaughingDangZi3 小时前
vue+java分离项目实现微信公众号开发全流程梳理
java·前端·后端
爬山算法3 小时前
Netty(14)如何处理Netty中的异常和错误?
java·前端·数据库