diff options
author | Sean Packham <sean@seanpackham.com> | 2017-06-08 15:06:45 +0000 |
---|---|---|
committer | Sean Packham <sean@seanpackham.com> | 2017-06-08 15:06:45 +0000 |
commit | 378830c525664f7cb1f0f1a7f745b071426cf6ff (patch) | |
tree | 2a087bc6e3a980a8f9a89c49c2a52c3756d5da2e /doc | |
parent | dec2f3c4130c1024f1fb5dab3c03118e0a9cb685 (diff) | |
parent | f64dae7890df0199cecffc284629873012af80e9 (diff) | |
download | gitlab-ce-378830c525664f7cb1f0f1a7f745b071426cf6ff.tar.gz |
Merge branch 'docs/rm-protected-branches' into 'master'
Add docs for protected branches deletion feature
Closes #32218
See merge request !11536
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/img/protected_branches_delete.png | bin | 0 -> 21510 bytes | |||
-rw-r--r-- | doc/user/project/protected_branches.md | 27 |
2 files changed, 27 insertions, 0 deletions
diff --git a/doc/user/project/img/protected_branches_delete.png b/doc/user/project/img/protected_branches_delete.png Binary files differnew file mode 100644 index 00000000000..cfdfe6c6c29 --- /dev/null +++ b/doc/user/project/img/protected_branches_delete.png diff --git a/doc/user/project/protected_branches.md b/doc/user/project/protected_branches.md index 7650020b37e..0570d9f471f 100644 --- a/doc/user/project/protected_branches.md +++ b/doc/user/project/protected_branches.md @@ -94,8 +94,33 @@ all matching branches: ![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 +**9.2** + +- Allow deletion of protected branches via the web interface [gitlab-org/gitlab-ce#21393][ce-21393] + **8.11** - Allow creating protected branches that can't be pushed to [gitlab-org/gitlab-ce!5081][ce-5081] @@ -110,4 +135,6 @@ all matching branches: [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-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 +[perm]: ../permissions.md |