Skip to main content

このバージョンの GitHub Enterprise はこの日付をもって終了となりました: 2022-10-12. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの向上、新機能の向上を図るために、最新バージョンの GitHub Enterprise にアップグレードします。 アップグレードに関するヘルプについては、GitHub Enterprise サポートにお問い合わせく� さい

Archiving repositories

この記事では、次の� �目が扱われます。

You can archive a repository to make it read-only for all users and indicate that it's no longer actively maintained. You can also unarchive repositories that have been archived.

About repository archival

リポジトリをアーカイブする前に、すべての Issue とプルリクエストをクローズするとともに、README ファイルと説明を更新しておくことをおすすめします。

Once a repository is archived, you cannot add or remove collaborators or teams. Contributors with access to the repository can only fork or star your project.

When a repository is archived, its issues, pull requests, code, labels, milestones, projects, wiki, releases, commits, tags, branches, reactions, code scanning alerts, comments and permissions become read-only. To make changes in an archived repository, you must unarchive the repository first.

You can search for archived repositories. For more information, see "Searching for repositories." You can also search for issues and pull requests within archived repositories. For more information, see "Searching issues and pull requests."

Archiving a repository

リポジトリをアーカイブする前に、すべての Issue とプルリクエストをクローズするとともに、README ファイルと説明を更新しておくことをおすすめします。

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.
  2. リポジトリ名の下の [ 設定] をクリックします。 リポジトリの設定ボタン
  3. Under "Danger Zone", click Archive this repository Archive this repository button
  4. Read the warnings.
  5. Type the name of the repository you want to archive. Archive repository warnings
  6. Click I understand the consequences, archive this repository.

Unarchiving a repository

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.
  2. リポジトリ名の下の [ 設定] をクリックします。 リポジトリの設定ボタン
  3. Under "Danger Zone", click Unarchive this repository Unarchive this repository button
  4. Read the warnings.
  5. Type the name of the repository you want to unarchive. Unarchive repository warnings
  6. Click I understand the consequences, unarchive this repository.