diff options
author | Mark Chao <mchao@gitlab.com> | 2018-05-22 18:16:06 +0800 |
---|---|---|
committer | Mark Chao <mchao@gitlab.com> | 2018-06-06 21:01:43 +0900 |
commit | d5a303cf4d1d0182bb5462ca85beb29a5a821700 (patch) | |
tree | fa9ffd0368f9bd8d7b1b72af190459b5142cf3f3 /doc/user/project/protected_branches.md | |
parent | 7c965a24f51ca93196c27880843a6d187ea063cc (diff) | |
download | gitlab-ce-d5a303cf4d1d0182bb5462ca85beb29a5a821700.tar.gz |
Doc update
Diffstat (limited to 'doc/user/project/protected_branches.md')
-rw-r--r-- | doc/user/project/protected_branches.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/user/project/protected_branches.md b/doc/user/project/protected_branches.md index 72593284648..3bf63a22963 100644 --- a/doc/user/project/protected_branches.md +++ b/doc/user/project/protected_branches.md @@ -10,8 +10,8 @@ created protected branches. By default, a protected branch does four simple things: - it prevents its creation, if not already created, from everybody except users - with Master permission -- it prevents pushes from everybody except users with Master permission + with Maintainer permission +- it prevents pushes from everybody except users with Maintainer permission - it prevents **anyone** from force pushing to the branch - it prevents **anyone** from deleting the branch @@ -24,7 +24,7 @@ See the [Changelog](#changelog) section for changes over time. ## Configuring protected branches -To protect a branch, you need to have at least Master permission level. Note +To protect a branch, you need to have at least Maintainer permission level. Note that the `master` branch is protected by default. 1. Navigate to your project's **Settings ➔ Repository** @@ -45,7 +45,7 @@ that the `master` branch is protected by default. Since GitLab 8.11, we added another layer of branch protection which provides more granular management of protected branches. The "Developers can push" option was replaced by an "Allowed to push" setting which can be set to -allow/prohibit Masters and/or Developers to push to a protected branch. +allow/prohibit Maintainers and/or Developers to push to a protected branch. Using the "Allowed to push" and "Allowed to merge" settings, you can control the actions that different roles can perform with the protected branch. @@ -66,7 +66,7 @@ dropdown list in the "Already protected" area.  If you don't choose any of those options while creating a protected branch, -they are set to "Masters" by default. +they are set to "Maintainers" by default. ## Wildcard protected branches @@ -101,7 +101,7 @@ all matching branches: From time to time, it may be required to delete or clean up branches that are protected. -User with [Master permissions][perm] and up can manually delete protected +User with [Maintainer permissions][perm] and up can manually delete protected branches via GitLab's web interface: 1. Visit **Repository > Branches** |