Search code examples
gitversion-controlidephpstorm

How to protect local branch with PhpStorm?


The idea is easy. I need to set some local branches as protected / non-pushable while they are not "master" or protected on origin.

Same idea already exists in PhpStorm Settings menu as comma separated list of branches which are prohibited to force pushes.

enter image description here


Solution

  • In phpstorm, there is no any ways to achieve this feature now. But you can vote your voice here