Warning: Undefined array key 1 in /home/naoooooo8/naoya-ono.com/public_html/blog/wp-content/themes/sango-theme-poripu/library/functions/prp_content.php on line 12
Warning: Undefined array key 2 in /home/naoooooo8/naoya-ono.com/public_html/blog/wp-content/themes/sango-theme-poripu/library/functions/prp_content.php on line 15
Warning: Undefined array key 3 in /home/naoooooo8/naoya-ono.com/public_html/blog/wp-content/themes/sango-theme-poripu/library/functions/prp_content.php on line 18
Warning: Undefined array key 4 in /home/naoooooo8/naoya-ono.com/public_html/blog/wp-content/themes/sango-theme-poripu/library/functions/prp_content.php on line 21
Warning: Undefined array key 1 in /home/naoooooo8/naoya-ono.com/public_html/blog/wp-content/themes/sango-theme-poripu/library/functions/prp_content.php on line 24
Warning: Undefined array key 2 in /home/naoooooo8/naoya-ono.com/public_html/blog/wp-content/themes/sango-theme-poripu/library/functions/prp_content.php on line 27
Warning: Undefined array key 3 in /home/naoooooo8/naoya-ono.com/public_html/blog/wp-content/themes/sango-theme-poripu/library/functions/prp_content.php on line 30
Warning: Undefined array key 4 in /home/naoooooo8/naoya-ono.com/public_html/blog/wp-content/themes/sango-theme-poripu/library/functions/prp_content.php on line 33
githubは公開しているリポジトリが非公開にする方法について紹介します。
2019年1月7日から、どなたでも無料で非公開に出来るようになったようなので、githubには載せたいけど、一般公開したくないという人はぜひ。
公開リポジトリを非公開にする手順
githubにログインし、非公開にしたいリポジトリを開きます。
開いたら、右端にある「Settings」をクリックします。

「Danger Zone」の中の「Make this repository private」という項目があるので、「Make private」ボタンをクリックします。

下のような画面が開くので、「リポジトリ名」を入力し、「I understand, make this repository private」をクリックします。

パスワードを入力します。

以上で、非公開(private)への設定完了です。
下の写真のようにリポジトリ名の横に「Private」という表記があれば、設定がきちんとできていることになります。

非公開にしたリポジトリを公開に戻したい場合は、同じ手順でできます。



