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. En your GitHub Enterprise Server instance, vaya a la página principal del repositorio.
  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