使用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
如下图:
3.导入github项目
查看菜单: VCS -> Checkout from Version Control -> Git
如下对话框对应填写:
以上,可以解决问题,TKS.