title | intro | redirect_from | versions | topics | shortTitle | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Managing the automatic deletion of branches |
You can have head branches automatically deleted after pull requests are merged in your repository. |
|
|
|
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.