报错详情:
The directory C:\文件\ideaWorkSpace\seckill-master is registered as a Git root, but no Git repositories were found there.
图片显示:
原因:目录所示的git项目不存在,导致这个报错
解决方法:在Idea中的version contral选中不存在的项目删除即可:
具体如图:
点击删除即可;
未经允许请勿转载:程序喵 » IDEA 控制台异常 is registered as a Git root, but no Git repositories were found there