添加电子邮件地址到 GitHub 帐户
GitHub 允许您根据需要为帐户添加多个电子邮件地址。 如果在本地 Git 配置中设置电子邮件地址,您需要将其添加到帐户设置,以将提交连接到帐户。 有关电子邮件地址和提交的更多信息,请参阅“设置提交电子邮件地址”。
注:You cannot verify email addresses from disposable domains. If you'd like to keep your email address private, you can use a GitHub-provided noreply
email address. For more information, see "Setting your commit email address on GitHub."
-
In the upper-right corner of any page, click your profile photo, then click Settings.
-
In the left sidebar, click Emails.
-
In "Add email address", type your email address and click Add.
-
In the "Primary email address" list, select the email address you'd like to associate with your web-based Git operations.