Setup git in Intellij terminal Setup git in Intellij terminal windows windows

Setup git in Intellij terminal


Setup JetBrains(InteliJ, WebStorm, PHPStorm) IDE terminal to use GIT bash

  • File
  • Settings
  • (Enter 'Terminal' in search)
  • Change Shell path to:

"C:\Program Files\Git\bin\sh.exe" --login -i

or

"C:\Program Files\Git\bin\bash.exe"

If you have another directory for installed git change it respectively.


The full path is not needed anymore (windows), I just replaced cmd.exe to sh.exe and bingo was his name O

Settings > Tools > Terminal > Shell path sh.exe


you don't need to reinstall anything. Go to:

-File-Settings-Search for terminal- in shell path type: "C:\Program Files\Git\bin\sh.exe" --login -i (or another directory where you installed Git)Please let me know if that worked fine for you