On the latest versions of GitLab the default branch should be protected automatically on import. Otherwise I think you have to do it manually.
Best regards, Sytse Sijbrandij CEO GitLab B.V. On Wed, Jan 7, 2015 at 11:51 AM, Roman Pavlík <[email protected]> wrote: > Hello, I would like to set all default branches as procted branch in all > repositories in my Gitlab instance. > > Is there any script or any simple way to do this ? I am not Ruby developer. > > > Thank you. > > -- > You received this message because you are subscribed to the Google Groups > "GitLab" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/178155b2-797d-4526-865d-4ad4264bd42e%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CAJTzhG_bv8mA85RLj535sRNaOJ__F_u_m7pk9tarrPNT2SG7Og%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
