Skip to main content

Managing the automatic deletion of branches

You can have head branches automatically deleted after pull requests are merged in your repository.

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

  1. On GitHub.com, navigate to the main page of the repository.
  2. Debajo del nombre del repositorio, haz clic en Configuración. Botón de configuración del repositorio
  3. Under "Pull Requests", select or unselect Automatically delete head branches. Checkbox to enable or disable automatic deletion of branches

Further reading