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. your enterprise で、リポジトリのメイン ページへ移動します。
  2. リポジトリ名の下の [ 設定] をクリックします。 リポジトリの設定ボタン
  3. Under "Merge button", select or unselect Automatically delete head branches. Checkbox to enable or disable automatic deletion of branches

Further reading