Skip to main content
We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation.
GitHub AE is currently under limited release.

管理分支的自动删除

您可让头部分支在仓库中的拉取请求合并后自动删除。

对仓库具有管理员权限的任何人都可启用或禁用分支的自动删除。

  1. 在 你的企业 上,导航到存储库的主页。 1. 在存储库名称下,单击 “设置”。 “存储库设置”按钮
  2. 在 “拉取请求”下,选择或取消选择“自动删除主分支”。 启用或禁用自动删除分支的复选框

延伸阅读