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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
8a8eeda5
Commit
8a8eeda5
authored
Jun 19, 2017
by
Marcia Ramos
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'docs/branches-ee' into 'master'
Document the Delete Merged Branches functionality See merge request !2149
parents
27cfb2d0
7928c540
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
0 deletions
+24
-0
changelogs/unreleased/33445-document-delete-merge-branches-won-t-touch-protected-branches-docs.yml
...te-merge-branches-won-t-touch-protected-branches-docs.yml
+4
-0
doc/README.md
doc/README.md
+1
-0
doc/api/branches.md
doc/api/branches.md
+2
-0
doc/user/project/repository/branches/img/delete_merged_branches.png
...roject/repository/branches/img/delete_merged_branches.png
+0
-0
doc/user/project/repository/branches/index.md
doc/user/project/repository/branches/index.md
+17
-0
No files found.
changelogs/unreleased/33445-document-delete-merge-branches-won-t-touch-protected-branches-docs.yml
0 → 100644
View file @
8a8eeda5
---
title
:
Document the Delete Merged Branches functionality
merge_request
:
author
:
doc/README.md
View file @
8a8eeda5
...
@@ -66,6 +66,7 @@ Manage files and branches from the UI (user interface):
...
@@ -66,6 +66,7 @@ Manage files and branches from the UI (user interface):
-
Branches
-
Branches
-
[
Create a branch
](
user/project/repository/web_editor.md#create-a-new-branch
)
-
[
Create a branch
](
user/project/repository/web_editor.md#create-a-new-branch
)
-
[
Protected branches
](
user/project/protected_branches.md#protected-branches
)
-
[
Protected branches
](
user/project/protected_branches.md#protected-branches
)
-
[
Delete merged branches
](
user/project/repository/branches/index.md#delete-merged-branches
)
-
**(EES/EEP)**
[
Repository Mirroring
](
workflow/repository_mirroring.md
)
-
**(EES/EEP)**
[
Repository Mirroring
](
workflow/repository_mirroring.md
)
-
**(EES/EEP)**
[
Push rules
](
push_rules/push_rules.md
)
: Additional control over pushes to your project.
-
**(EES/EEP)**
[
Push rules
](
push_rules/push_rules.md
)
: Additional control over pushes to your project.
-
**(EEP)**
[
File Locking
](
user/project/file_lock.md
)
: Lock a file to avoid merge conflicts.
-
**(EEP)**
[
File Locking
](
user/project/file_lock.md
)
: Lock a file to avoid merge conflicts.
...
...
doc/api/branches.md
View file @
8a8eeda5
...
@@ -251,6 +251,8 @@ curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gi
...
@@ -251,6 +251,8 @@ curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gi
Will delete all branches that are merged into the project's default branch.
Will delete all branches that are merged into the project's default branch.
Protected branches will not be deleted as part of this operation.
```
```
DELETE /projects/:id/repository/merged_branches
DELETE /projects/:id/repository/merged_branches
```
```
...
...
doc/user/project/repository/branches/img/delete_merged_branches.png
0 → 100644
View file @
8a8eeda5
41.9 KB
doc/user/project/repository/branches/index.md
0 → 100644
View file @
8a8eeda5
# Branches
## Delete merged branches
> [Introduced][ce-6449] in GitLab 8.14.
![
Delete merged branches
](
img/delete_merged_branches.png
)
This feature allows merged branches to be deleted in bulk. Only branches that
have been merged and
[
are not protected
][
protected
]
will be deleted as part of
this operation.
It's particularly useful to clean up old branches that were not deleting
automatically when a merge request was merged.
[
ce-6449
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6449
"Add button to delete all merged branches"
[
protected
]:
../../protected_branches.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