如何替换掉idea默认的cmd,改变为 git bash

  1. idea中,打开File ->> Settings ->> Tools ->> Terminal, 如图:
    idea中配置Terminal 为 git bash
  2. shell path 选择你本地的,git\bin目录下的bash.exe ,重启

相关文章: