Skip to main content

Блокировка отправок из командной строки, которые раскрывают ваши личные адреса электронной почты

Если нужно сохранить конфиденциальность своего адреса электронной почты при выполнении операций в Интернете, вы также можете заблокировать запросы командной строки, которые могут раскрыть личный адрес электронной почты.

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.

  1. In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.
  2. In the "Access" section of the sidebar, click Emails.
  3. To keep your email address private when performing web-based Git operations, select Keep my email addresses private.
  4. To keep your email address private in commits you push from the command line, select Block command line pushes that expose my email.