Skip to main content

此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-01-27. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Managing email preferences

You can add or change the email addresses associated with your account. You can also manage emails you receive from GitHub.

Adding an email address to your GitHub account

GitHub allows you to add as many email addresses to your account as you like. If you set an email address in your local Git configuration, you will need to add it to your account settings in order to connect your commits to your account. For more information about your email address and commits, see Setting your commit email address.

Changing your primary email address

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

Setting a backup email address

Use a backup email address as an additional destination for security-relevant account notifications and to securely reset your password if you can no longer access your primary email address.

Setting your commit email address

You can set the email address that is used to author commits on GitHub and on your computer.

Remembering your GitHub username or email

Are you signing in for the first time in a while? If so, welcome back! If you can't remember the username for your personal account, you can try these methods for remembering it.