Lock branch or repository for maintainers only / GitLab
Body
Problem
- I need to lock down branches or repos so that only maintainers (formerly masters) are able to edit
Resolution
- Log in to GitLab
- Open the desired repository
- On the left toolbar, select Settings
- Select Repository
- Select Expand for Protected Branches
- Select the button for Add Protected Branch
- Select Master for Branch
- Select Maintainers for Allowed to Merge and Allowed to Push
- Select Protect
System
- 66438: GitLab (SaaS)
- University Development Environment
Details
Details
Article ID:
18238
Created
Wed 11/9/16 4:08 PM
Modified
Tue 5/19/26 6:49 AM