リポジトリの可視性の変更について
Organization のオーナーは、リポジトリの可視性を変更する機能を Organization のオーナーのみに制限できます。 詳しい情報については「Organization 内でリポジトリの可視性の変更を制限する」を参照してください。
リポジトリの可視性を変更する前に、次の注意点を確認することをお勧めします。
リポジトリをプライベートにする
- GitHub Enterprise Server はパブリックリポジトリのパブリックフォークを切り離し、新しいネットワークに追加します。 Public forks are not made private.
- If you change a repository's visibility from internal to private, GitHub will remove forks that belong to any user without access to the newly private repository. The visibility of any forks will also change to private. For more information, see "What happens to forks when a repository is deleted or changes visibility?"
- Any published GitHub Pages site will be automatically unpublished.
- Anonymous Git read access is no longer available. For more information, see "Enabling anonymous Git read access for a repository."
リポジトリをインターナルにする
注釈: Internal repositories are available with GitHub Enterprise Cloud and GitHub Enterprise Server 2.20+. 詳しい情報については「GitHubの製品」を参照してください。
- Any forks of the repository will remain in the repository network, and GitHub Enterprise Server maintains the relationship between the root repository and the fork. For more information, see "What happens to forks when a repository is deleted or changes visibility?"
リポジトリをパブリックにする
- GitHub Enterprise Server will detach private forks and turn them into a standalone private repository. For more information, see "What happens to forks when a repository is deleted or changes visibility?"
リポジトリの可視性を変更する
- GitHub Enterprise Serverで、リポジトリのメインページにアクセスしてください。
- リポジトリ名の下で Settings(設定)をクリックしてください。
- [Danger Zone] の [Change repository visibility] の右側にある [Change visibility] をクリックします。
- 可視性を選択します。
- 正しいリポジトリの可視性を変更していることを確認するには、可視性を変更するリポジトリの名前を入力します。
- [I understand, change repository visibility] をクリックします。