リポジトリに対する管理者権限があるユーザは、ブランチの削除を有効化できます。
デフォルトでは、保護されたブランチは削除できません。 保護されたブランチの削除を有効にすると、少なくともリポジトリへの書き込み権限を持つユーザは、管理者権限を持つブランチを含め、ブランチを削除できます。
リポジトリ中の一部あるいはすべてのブランチに対して、保護されたブランチの設定を自動的に強制できます。 詳しい情報については保護されたブランチの設定を参照してください。
- GitHubで、リポジトリのメインページにアクセスしてください。
- リポジトリ名の下で Settings(設定)をクリックしてください。

- 左のメニューでBranches(ブランチ)をクリックしてください。

- "Branch protection rules(ブランチ保護のルール)"の隣のAdd rule.(ルールの追加)をクリックしてください。

- "Branch name pattern(ブランチ名のパターン)"の下で、保護したいブランチの名前もしくはパターンを入力してください。

- [Rules applied to everyone including administrators] で、 [Allow deletions] を選択します。

- Create(作成)をクリックしてください。

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
