git - Gitolite permissions: How use the "-" thing? -


i'm trying set gitolite permissions i'm not sure how use - thing.

situation: have 2 groups; @gatekeepers , @devs. want both groups able work in remote branches except master branch. supposed able pull master branch though.

so far have this, i'm positive doesn't work:

repo foo     - master = @devs @gatekeepers     rw+     = @devs @gatekeepers 

if understand correctly, disallow groups doing @ (reading or writing) master branch.

what way properly?

for stated purpose (which iiuc disallow push master), original code in question fine; indeed prevent push master both groups mentioned.

adding deny-rules option makes no 1 can clone.

recap: deny-rules option makes deny rules honored pre-git access check also. means, (as doc says), refexes ignored -- in fact don't know ref pushed, if push operation.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -