Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e089042f
Commit
e089042f
authored
Feb 01, 2021
by
Marcia Ramos
Committed by
Marcin Sedlak-Jakubowski
Feb 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: coach-will-finish note about main branch in protected branches
parent
f8f541b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
doc/user/project/protected_branches.md
doc/user/project/protected_branches.md
+7
-3
No files found.
doc/user/project/protected_branches.md
View file @
e089042f
...
...
@@ -21,13 +21,17 @@ By default, a protected branch does these things:
-
It prevents
**anyone**
from force pushing to the branch.
-
It prevents
**anyone**
from deleting the branch.
NOTE:
A GitLab administrator is allowed to push to the protected branches.
**Permissions:**
See the
[
Changelog
](
#changelog
)
section for changes over time.
-
GitLab administrators are allowed to push to the protected branches.
-
Users with
[
Developer permissions
](
../permissions.md
)
are allowed to
create a project in a group, but might not be allowed to initially
push to the
[
default branch
](
repository/branches/index.md#default-branch
)
.
The default branch protection level is set in the
[
Admin Area
](
../admin_area/settings/visibility_and_access_controls.md#default-branch-protection
)
.
See the
[
Changelog
](
#changelog
)
section for changes over time.
## Configuring protected branches
To protect a branch, you need to have at least Maintainer permission level.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment