IntelliJ IDEA: Clone failed runnerw.exe CreateProcess failed with error 2

使用IntelliJ IDEA 从github仓库导入项目报错:

Clone failed runnerw.exe CreateProcess failed with error 2

检查如下步骤:

1. 安装Git工具,下载地址: https://gitforwindows.org/

    检验成功安装,在任意文件夹上点击右键,下拉菜单左键点击"Git Bash Here" 出现命令行窗口,输入命令: git

    如图即成功:

2.设置IntelliJ IDEA编辑器导入

查看菜单:  File -> Settings -> Version Control -> Git

在Path to Git executable 后面编辑框填写git安装目录即可,例如,本机git安装目录:  D:\Program Files\Git\bin\git.exe

如下图:

扫描二维码关注公众号,回复: 4552942 查看本文章

3.导入github项目

查看菜单: VCS -> Checkout from Version Control -> Git

如下对话框对应填写:

以上,可以解决问题,TKS.

猜你喜欢

转载自blog.csdn.net/zhangbeizhen18/article/details/85060711