Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 1.2 KB

File metadata and controls

25 lines (23 loc) · 1.2 KB
title Managing the automatic deletion of branches
intro You can have head branches automatically deleted after pull requests are merged in your repository.
redirect_from
/articles/managing-the-automatic-deletion-of-branches
/github/administering-a-repository/managing-the-automatic-deletion-of-branches
versions
fpt ghes ghae
*
*
*
topics
Repositories
shortTitle Automatic branch deletion

Anyone with admin permissions to a repository can enable or disable the automatic deletion of branches.

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} 3. Under "Merge button", select or unselect Automatically delete head branches. Checkbox to enable or disable automatic deletion of branches

Further reading