Is it possible to run git commands in phpStorm's console? For example, I want to run git log command in the console that I open with Tools->Terminal?

有帮助吗?

解决方案

I've found an answer myself - just set the path to the git bash in the terminal path:

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

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top