idea使用git命令

1.在系统环境变量的path加上git设置就可以。

例如我的git安装路径是:D:\Program Files\Git

环境变量配置为:D:\Program Files\Git\cmd

idea使用git命令

2.如果你是想把gitbash替换掉idea的默认的终端(cmd),那么在idea上

ettings--->tools--->Terminal中的shell path 填上 :D:\Program Files\Git\bin\bash.exe

idea使用git命令

相关文章:

  • 2021-09-19
  • 2021-06-10
  • 2021-06-20
  • 2022-02-24
猜你喜欢
  • 2022-12-23
  • 2021-04-10
  • 2022-12-23
  • 2021-05-03
  • 2021-11-23
  • 2022-01-21
相关资源
相似解决方案