在出现Cannot run program “git.exe”: CreateProcess error=2时,说明未正确引入git.exe
我们需要做如下几步
1 下载git.exe
1)下载 Github For Windows 客户端并安装。
2)成功安装之后,连接你的账户。
2 配置git.exe在idea中的路径
1)从fidea左上角的file进入settings
我只是bug的搬运工之idea的Cannot run program "git.exe": CreateProcess error=2
2)点击settings下面的version control的git,打开右侧的path to git executable
我只是bug的搬运工之idea的Cannot run program "git.exe": CreateProcess error=2
3)在电脑中找到git.exe的位置
我只是bug的搬运工之idea的Cannot run program "git.exe": CreateProcess error=2
4)将其填入下方红色位置,点击ok即可
我只是bug的搬运工之idea的Cannot run program "git.exe": CreateProcess error=2
5)使用test测试是否连接成功
我只是bug的搬运工之idea的Cannot run program "git.exe": CreateProcess error=2

相关文章:

  • 2021-05-11
  • 2022-12-23
  • 2021-03-29
  • 2022-01-21
  • 2021-10-16
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-25
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2021-05-14
  • 2021-12-18
相关资源
相似解决方案