summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Alexandre Clorichel <contact@clorichel.com>2016-09-30 06:57:58 +0000
committerPierre-Alexandre Clorichel <contact@clorichel.com>2016-09-30 06:57:58 +0000
commit47573a5c93dcdc7c6f6de40f1086d2b27a4f6e37 (patch)
tree0199893e2d051370188d0609b34639df0ded8426
parent923a1f7ace53f4913284c384ae2a20a39a999f99 (diff)
downloadgitlab-ce-47573a5c93dcdc7c6f6de40f1086d2b27a4f6e37.tar.gz
document the need to be owner or have the master permission level for the initial push
-rw-r--r--app/views/projects/empty.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index 636beb73ec2..4065b27156f 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -23,6 +23,8 @@
or a
= link_to '.gitignore', add_special_file_path(@project, file_name: '.gitignore'), class: 'underlined-link'
to this project.
+ %p
+ You will need to be owner or have the master permission level for the initial push, as the master branch is automatically protected.
- if can?(current_user, :push_code, @project)
%div{ class: container_class }