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
f64dae78
Commit
f64dae78
authored
May 19, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs for protected branches deletion feature
Closes
https://gitlab.com/gitlab-org/gitlab-ce/issues/32218
parent
c9c4d537
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
doc/user/project/img/protected_branches_delete.png
doc/user/project/img/protected_branches_delete.png
+0
-0
doc/user/project/protected_branches.md
doc/user/project/protected_branches.md
+27
-0
No files found.
doc/user/project/img/protected_branches_delete.png
0 → 100644
View file @
f64dae78
21 KB
doc/user/project/protected_branches.md
View file @
f64dae78
...
@@ -97,8 +97,33 @@ all matching branches:
...
@@ -97,8 +97,33 @@ all matching branches:
![
Protected branch matches
](
img/protected_branches_matches.png
)
![
Protected branch matches
](
img/protected_branches_matches.png
)
## Deleting a protected branch
> [Introduced][ce-21393] in GitLab 9.3.
From time to time, it may be required to delete or clean up branches that are
protected.
User with
[
Master permissions
][
perm
]
and up can manually delete protected
branches via GitLab's web interface:
1.
Visit
**Repository > Branches**
1.
Click on the delete icon next to the branch you wish to delete
1.
In order to prevent accidental deletion, an additional confirmation is
required
![Delete protected branches](img/protected_branches_delete.png)
Deleting a protected branch is only allowed via the web interface, not via Git.
This means that you can't accidentally delete a protected branch from your
command line or a Git client application.
## Changelog
## Changelog
**9.2**
-
Allow deletion of protected branches via the web interface
[
gitlab-org/gitlab-ce#21393
][
ce-21393
]
**8.11**
**8.11**
-
Allow creating protected branches that can't be pushed to
[
gitlab-org/gitlab-ce!5081
][
ce-5081
]
-
Allow creating protected branches that can't be pushed to
[
gitlab-org/gitlab-ce!5081
][
ce-5081
]
...
@@ -113,4 +138,6 @@ all matching branches:
...
@@ -113,4 +138,6 @@ all matching branches:
[
ce-4665
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4665
"Allow specifying protected branches using wildcards"
[
ce-4665
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4665
"Allow specifying protected branches using wildcards"
[
ce-4892
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4892
"Allow developers to merge into a protected branch without having push access"
[
ce-4892
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4892
"Allow developers to merge into a protected branch without having push access"
[
ce-5081
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5081
"Allow creating protected branches that can't be pushed to"
[
ce-5081
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5081
"Allow creating protected branches that can't be pushed to"
[
ce-21393
]:
https://gitlab.com/gitlab-org/gitlab-ce/issues/21393
[
ee-restrict
]:
http://docs.gitlab.com/ee/user/project/protected_branches.html#restricting-push-and-merge-access-to-certain-users
[
ee-restrict
]:
http://docs.gitlab.com/ee/user/project/protected_branches.html#restricting-push-and-merge-access-to-certain-users
[
perm
]:
../permissions.md
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