idea中Terminal终端中使用Git命令 打开idea --> file --> settings --> Tools --> Terminal 找到 Shell path 一栏 将 Shell path 更改为 Git安装路径中的 bin/ 目录下的 bash.exe 即可