Branch permissions

Hey everyone I have a repo setup but I’m running into some trouble. I have a master branch and then 2 other branches. I’d like to make it that the devs can only push to their branches and not the master branch. Could someone tell me how I’d do that. I looked all over the place but can’t figure it out. Thank you.

You can refer to the documentation on protected branches for instructions on how to configure the kind of thing you’re describing.

Let us know if you have more questions.

its in settings under branches … create a branch protection scheme 

for master you can specifiy master … but you can also use wildcards etc…like *-master which would be any branch ending with -master