Reputation: 1957
Goal: use Git Bash as Terminal in PyCharm.
How can I have a normal Bash with Git integrated Terminal in PyCharm?
File path for Git Bash: C:\Users\me\AppData\Local\Programs\Git\git-bash.exe --cd-to-home
.
I apply Git Bash in PyCharm Settings:
However, when I click New Session
(new Terminal +
), it launches as a Window:
Upvotes: 3
Views: 4175
Reputation: 1957
This solution has also worked for me:
"C:\Program Files\Git\bin\bash.exe" --login
Upvotes: 0
Reputation: 3445
You are pointing at git-bash.exe
, which is wrong. You should point at bash.exe
which is located inside the bin folder. So your Shell path should be:
"C:\Users\<username>\AppData\Local\Programs\Git\bin\bash.exe" --login
using
"C:\Users\<username>\AppData\Local\Programs\Git\bin\sh.exe" --login
would also work. Also works without --login
. Make sure the "
are there.
Upvotes: 6