GitLab / Lock branch or repository for maintainers only
Body
Objective
- To provide instruction on locking down branches/repos so that only maintainers (formerly masters) are able to edit
Environment
- 66438: GitLab (SaaS)
- University Development Environment
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
Details
Details
Article ID:
18238
Created
Wed 11/9/16 4:08 PM
Modified
Tue 10/28/25 7:55 AM