From ea4766228b5536c83f1917d6058be913472ffa2d Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 5 Aug 2020 18:10:10 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-2-stable-ee --- doc/push_rules/push_rules.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/push_rules/push_rules.md b/doc/push_rules/push_rules.md index e0ca914b67b..f958eaa1b21 100644 --- a/doc/push_rules/push_rules.md +++ b/doc/push_rules/push_rules.md @@ -56,6 +56,13 @@ If you have other target branches, include them in your regex. (See [Enabling pu The default branch also defaults to being a [protected branch](../user/project/protected_branches.md), which already limits users from pushing directly. +#### Default restricted branch names + +> Introduced in GitLab 12.10. + +By default, GitLab restricts certain formats of branch names for security purposes. +Currently 40-character hexadecimal names, similar to Git commit hashes, are prohibited. + ### Custom Push Rules **(CORE ONLY)** It's possible to create custom push rules rather than the push rules available in -- cgit v1.2.3