Print
Print:
Body
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
You must be a manager (formerly
master
) to make this change
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
Wed 10/2/24 11:52 AM
Can you resolve this issue yourself?
Yes! This is self-service with a smile.