I want to use git in Intellij Terminal but it does not recognize the command. In Command Prompt and Windows power shell the command in recognized (I added the git path in System
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
This worked for me:
IntelliJ: File->Settings->Version Control->Git:
On the right side, Path to Git executable:
"C:\Program Files\Git\bin\git.exe"
Setup JetBrains(InteliJ, WebStorm, PHPStorm) IDE terminal to use GIT bash
"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.
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