read only mode for git branch

Hi, 

 

is it possible to protect a git-branch in phpstorm so you can not change any file inside phpstorm?

for example I just want to use the master branch to merge branches inside the master,

all changes I make should be inside a branch.

 

But i am a sloppy guy... so i always forget that I am inside the master branch, 

for me the best way would be to protect the branch from changes...

 

2

请先登录再写评论。