Page MenuHomePhabricator

Policies for repository branches
Closed, ResolvedPublic

Asked by shahurik on Dec 19 2013, 10:30 AM.

Details

I want to set different policies for branches. For example, someone can push in dev branch, but can't push in master branch. Is it possible?

Answers

asherkin
Updated 2,528 Days Ago

You'll want to give them push access to the repository, then add a global herald rule like the image below to block them from changing master.

{F90840}

I'm pretty sure this is correct, but @epriestley can confirm.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.