It would be very helpful if we can use Git Bash inside PhpStorm itself.
The fact is, though, that it's a terminal client and that's how PhpStorm thinks of it. To implement it, you have to go to:
>> File -> Settings -> Tools -> Terminal
Once you're there, here are the steps necessary to enable Git Bash in the Terminal dialogue.
Now you can browse git.sh file from your git installation location.
That would be like below path:
C:\Program Files\Git\bin\sh.exe and it may differ in your machine
And then need to bound the path by double quotation like:
"C:\Program Files\Git\bin\sh.exe"
And add the following line after that "-login -i"
And the final output be like:
"C:\Program Files\Git\bin\sh.exe" -login -i
Your set-up is completed, now press Alt+F12 to see git window inside PhpStorm.
And your are done.
The fact is, though, that it's a terminal client and that's how PhpStorm thinks of it. To implement it, you have to go to:
>> File -> Settings -> Tools -> Terminal
Once you're there, here are the steps necessary to enable Git Bash in the Terminal dialogue.
Now you can browse git.sh file from your git installation location.
That would be like below path:
C:\Program Files\Git\bin\sh.exe and it may differ in your machine
And then need to bound the path by double quotation like:
"C:\Program Files\Git\bin\sh.exe"
And add the following line after that "-login -i"
And the final output be like:
"C:\Program Files\Git\bin\sh.exe" -login -i
Your set-up is completed, now press Alt+F12 to see git window inside PhpStorm.
And your are done.
No comments:
Post a Comment