16 June 2016

How to replace command line with git bash in IntelliJ ?

IntelliJ  has an ability to run terminal inside ,but it uses cmd.exe but most of us ,specially these people who use git ,use git bash instead . So you ask yourself; can I replace it ?

Yes, you can!

You just need do few simple steps:
  • Press Ctrl+Alt+S (Open settings)  (anywhere on main screen)
  • Search for terminal in search-box (top left)
  • change path to : C:\Program Files (x86)\Git\bin\sh.exe" --login -i [change path to yours, this is default one for 32 bit version of git bash on Windows)
  • Done :)
  • Open terminal and ... ta daam Git bash is there instead of cmd.exe :)