Anyone with admin permissions to a repository can enable or disable the automatic deletion of branches.
- On your GitHub Enterprise Server instance, navigate to the main page of the repository.
- リポジトリ名の下の [ 設定] をクリックします。
- Under "Merge button", select or unselect Automatically delete head branches.