0

I am trying to deprotecting branches in my GitLab Group. There are several projects(50+) in this group. So when I try to handle permission that protects branches, I have to enter in every GitLab projects...

like below:

Fix Gilab error: "you are not allowed to push code to protected branches on this project"?

I want to managing branch protect policy by command-line-tool. Is there any good solution?

JY Choe
  • 73
  • 1
  • 1
  • 7
  • I installed GitLab using docker-compose and it runs on the docker. The GitLab container uses host mounted volumes to store persistent data: `/srv/gitlab/data` `/srv/gitlab/logs` `/srv/gitlab/config` I've look around these directories but nothing found.. – JY Choe Jan 07 '19 at 08:42

1 Answers1

0

I think I have to use REST API.

https://docs.gitlab.com/ee/api/protected_branches.html

JY Choe
  • 73
  • 1
  • 1
  • 7