idea 中出现“Сannot Run Git Cannot identify version of git executable: no response”解决办法

早上开开心心上班,打开idea准备先拉取以下代码突然git就报错了?

Сannot Run Git
Cannot identify version of git executable: no response

不能识别git运行版本是什么鬼呀

idea 中出现“Сannot Run Git Cannot identify version of git executable: no response”解决办法_第1张图片

 

我心里一阵颤抖,难道我又做了什么骚操作,不对呀,明明什么都没干呀?

 

idea 中出现“Сannot Run Git Cannot identify version of git executable: no response”解决办法_第2张图片

我打开配置信息settings->Version Control -> Git

idea 中出现“Сannot Run Git Cannot identify version of git executable: no response”解决办法_第3张图片

点击测试,也没有问题呀

idea 中出现“Сannot Run Git Cannot identify version of git executable: no response”解决办法_第4张图片

一顿操作过后,更加懵逼了,难道人品太差,怎么可能,我可是忠实的马克思主义信仰者,相信科学。

网上找了几个方法试了下,还是没解决,最后我将路径改成手动配置,不由idea自己检测可执行路径,(归根到底就是路径问题)如下图

idea 中出现“Сannot Run Git Cannot identify version of git executable: no response”解决办法_第5张图片

然后尝试拉取代码,又好了。

吓得我赶紧写篇博客记录下,帮自己记录,也希望能帮助遇到同样问题的人

你可能感兴趣的:(框架,git)