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
Jérome Perrin
gitlab-ce
Commits
fba61417
Commit
fba61417
authored
Oct 12, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
parents
b09fd233
c9c6f77e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/views/projects/protected_branches/index.html.haml
app/views/projects/protected_branches/index.html.haml
+3
-3
No files found.
app/views/projects/protected_branches/index.html.haml
View file @
fba61417
%h3
.page-title
Protected branches
%p
.light
This ability keeps stable branches secure and forces developers to use code review
s
%p
.light
Keep stable branches secure and force developers to use Merge Request
s
%hr
.bs-callout.bs-callout-info
%p
Protected branches are designed to
%ul
%li
prevent pushes from everybody except
#{
link_to
"masters"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"vlink"
}
%li
prevent
s
anyone from force pushing to the branch
%li
prevent
s
anyone from deleting the branch
%li
prevent anyone from force pushing to the branch
%li
prevent anyone from deleting the branch
%p
Read more about
#{
link_to
"project permissions"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"underlined-link"
}
-
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