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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
b9d1fc2f
Commit
b9d1fc2f
authored
May 22, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve protected branch explanation
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
36cac35b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app/views/projects/protected_branches/index.html.haml
app/views/projects/protected_branches/index.html.haml
+5
-5
No files found.
app/views/projects/protected_branches/index.html.haml
View file @
b9d1fc2f
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
=
render
"projects/branches/filter"
=
render
"projects/branches/filter"
.col-md-9
.col-md-9
.bs-callout.bs-callout-info
.bs-callout.bs-callout-info
%p
Protected branches designed to prevent push for all except
#{
link_to
"masters"
,
help_permissions_path
,
class:
"vlink"
}
.
%p
Protected branches designed to
%p
This ability allows:
%ul
%ul
%li
keep stable branches secured
%li
prevent push for all except
#{
link_to
"masters"
,
help_permissions_path
,
class:
"vlink"
}
.
%li
forced code review before merge to protected branches
%li
prevent branch from force push
%li
prevents branch from force push
%li
prevent branch from removal
%p
This ability allows to keep stable branches secured and force code review before merge to protected branches
%p
Read more about project permissions
#{
link_to
"here"
,
help_permissions_path
,
class:
"underlined-link"
}
%p
Read more about project permissions
#{
link_to
"here"
,
help_permissions_path
,
class:
"underlined-link"
}
-
if
can?
current_user
,
:admin_project
,
@project
-
if
can?
current_user
,
:admin_project
,
@project
...
...
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