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. GitHub의 페이지 오른쪽 상단에서 프로필 사진을 선택한 다음, Settings를 클릭합니다.
  2. 사이드바의 "Access" 섹션에서 Emails를 클릭합니다.
  3. 웹 기반 Git 작업을 수행할 때 이메일 주소를 비공개로 유지하려면 내 이메일 주소를 비공개로 유지를 클릭합니다.
  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