Skip to main content

Changing your primary email address

To change your primary email address, you'll add a new email, then delete the old one.

You can change the email address associated with your personal account at any time. You cannot change your primary email address to an email that is already set to be your backup email address.

注意

This article does not apply to 托管用户帐户. To change your email address as a 托管用户帐户, contact the administrator for your company's identity provider (IdP). Your primary email address is the first one assigned to you in the IdP.

  1. 在 GitHub 任意页面的右上角,单击个人资料照片,然后单击 “设置”****。

  2. 在侧边栏的“访问”部分,单击“ 电子邮件”。

  3. If you'd like to add a new email address to set as your primary email address, under "Add email address", type a new email address and click Add.

  4. Under "Primary email address", use the drop-down menu to click the email address you'd like to set as your primary email address, and click Save.

  5. To remove the old email address from your account, next to the old email, click .

  6. Verify your new primary email address. Without a verified email address, you won't be able to use all of GitHub's features. For more information, see Verifying your email address.