Change VCS command terminal to use git bash

Hi there ! 

I would like to know if it is possible to change the default command terminal to git bash for VCS actions. (Not terminal, really the VCS console)

To explain in details my case : I've got hooks on my git commits that analyses my code and block my commit if there is a problem (I'm using GrumPHP https://github.com/phpro/grumphp)

Here are the 2 scenarios : 

First
1. I "vagrant up" with my git bash
2. I try to commit from PHPStorm VCS integration
3. FAIL : it says "Vagrant must be running"

Second:
1. I "vagrant up" with my windows terminal
2. I try to commit from PHPStorm VCS integration
3. SUCCESS : it runs my git hooks correctly, connecting to my vagrant over SSH, etc...

 

So I would like to always use git bash terminal instead of windows command line to avoid any "rights" problem.

Any help ?

0

Not possible unfortunately. But I would advise submitting this to our tracker to investigate the problem in details.

0

请先登录再写评论。