ide phpStorm使用git的命令行工具

1.点击phpStorm左下角,点击terminal

ide phpStorm使用git的命令行工具

2.发现是windows自带的cmd.exe,可以将其改为git的sh.exe

3.打开设置(File -> Settings -> Tools -> Terminal)
4.如下图改为 git根目录下/bin/sh.exe最后加 login -i(注意双引号)
ide phpStorm使用git的命令行工具

5.重启phpStorm

ide phpStorm使用git的命令行工具

 

相关文章:

  • 2022-02-20
  • 2021-11-17
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
  • 2021-07-13
猜你喜欢
  • 2022-12-23
  • 2022-02-10
  • 2021-10-19
  • 2021-09-05
  • 2022-12-23
相关资源
相似解决方案