Skip to main content

Добавление адреса электронной почты в учетную запись GitHub

GitHub позволяет добавлять в учетную запись столько адресов электронной почты, сколько вам нравится. Если вы настроили адрес электронной почты в локальной конфигурации Git, необходимо добавить его в параметры учетной записи, чтобы подключить к ней фиксации. Дополнительные сведения об адресе электронной почты и фиксации см. в разделе "Настройка адреса электронной почты фиксации".

Note

  • You cannot verify email addresses from disposable email address services (services that allow you to receive email at a temporary address that expires after a certain time). 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.
  • If you're a member of an enterprise with managed users, you cannot make changes to your email address on GitHub. For more information, see Types of GitHub accounts.
  1. In the upper-right corner of any page on GitHub, click your profile photo, then click Settings.

  2. In the "Access" section of the sidebar, click Emails.

  3. In "Add email address", type your email address and click Add.

  4. Verify your email address.

  5. If you'd like to associate the email address with your web-based Git operations, select it from the "Primary email address" dropdown menu.

    Screenshot of the "Email" settings page. Under "Primary email address," a dropdown menu, labeled with Octocat's email address, is outlined in orange.

Troubleshooting adding an email

If you see an error message when you try to add an email address to your account, you may be experiencing one of the following issues.

Email already in use

If you see the error message Error adding EMAIL: email is already in use, it means the email address is already linked to another GitHub account. An email address can only be associated with one GitHub account at a time.

To use this email with a different account, follow these steps:

  1. Sign in to the account currently linked to the email address and remove it from that account.
  2. If you don’t have access to the account, request a password reset email to recover it. See Updating your GitHub access credentials.

Email linked to a managed user account

If the email address that you are trying to add is provided to you by your organization, you may see the Error adding EMAIL: email is already in use error when your organization has created a managed user account for you in their enterprise with managed users.

Reach out to your site administrator or internal IT helpdesk to learn about their deployment of GitHub Enterprise Cloud and how to access the account. You may be able to sign into the GitHub Enterprise Cloud application via the organization's identity provider (IdP).

If you want to use your email address with a personal account, you must sign in to your managed user account and unverify the email in your account settings. The email will remain linked to your managed user account, allowing you to access the account through your organization's IdP.

However, some third-party apps or services may not function properly with a managed user account that has an unverified email address.

Further reading