简体   繁体   中英

IntelliJ IDEA -GIT change terminal

I am trying to change the Terminal of IntelliJ IDEA from the default cmd.exe to Git for Windows' shell. I have change the path to:

"C:\\Program Files\\Git\\bin\\sh.exe" --login -i. but when I do that either I get this error... -java.io.IOException: Couldn't create PTY or the console opens and closes right away.

Any suggestions? Thanks.

This was finally working: "C:\\Program Files\\Git\\bin\\sh.exe" --login -i

I was just using a different language for "Program Files" therefore the error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM