Skip to main content

Blocking command line pushes that expose your personal email address

If you've chosen to keep your email address private when performing web-based operations, you can also choose to block command line pushes that may expose your personal email address.

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. Klicke in der oberen rechten Ecke einer Seite auf GitHub auf dein Profilbild und dann auf Settings.
  2. Klicke im Abschnitt „Access“ der Randleiste auf Emails.
  3. Um deine E-Mail-Adresse bei webbasierten Git-Operationen privat zu halten, wähle Meine E-Mail-Adressen privat halten aus.
  4. 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