When you enable this setting, each time you push to GitHub, we’ll check the most recent commit. If the author email on that commit is a private email on your GitHub account, we will block the push and warn you about exposing your private email.
- GitHub の任意のページの右上隅にあるプロフィール写真をクリックし、[ Settings] をクリックします。
- サイドバーの [Access] セクションの [Emails] をクリックします。
- Web ベースの Git 操作を行うときにメール アドレスを非公開にするには、 [メール アドレスを非公開にする] をクリックします。
- To keep your email address private in commits you push from the command line, select Block command line pushes that expose my email.
Next steps
- For reference information, see メール アドレスのリファレンス.