Skip to main content

Email addresses

Learn about the different types of email addresses you can associate with your GitHub account—primary, backup, commit, and noreply—and how each type is used for account management, security, and commit attribution.

Adding an email address to your GitHub account

GitHub allows you to add as many email addresses to your account as you like. For more information, see GitHub アカウントへのメールアドレスの追加.

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 Commit email addresses below.

Changing your primary email address

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. For more information, see プライマリメールアドレスの変更.

Email verification for personal accounts

You can verify your email address after signing up for a new account, or when you add a new email address. If an email address is undeliverable or bouncing, it will be unverified.

Having an unverified email address does not affect most actions you can take on GitHub. However, we recommend email verification to prevent potential exploitation of third-party GitHub Apps and OAuth apps which may not have followed our best practices around secure authentication methods for apps.

For more information, see メールアドレスを検証する.

Email verification for マネージド ユーザー アカウント

For Enterprise Managed Users (EMUs), email addresses are no longer automatically verified. This prevents unauthorized access and potential data leaks from third-party GitHub Apps and OAuth applications that rely on email addresses as a primary identifier.

Until you verify your email address, your account will use a placeholder email address with your enterprise's shortcode appended for certain operations. For example, the ユーザーの REST API エンドポイント and 電子メール用の REST API エンドポイント will return email+shortcode@domain.com. In rare cases, you may find that your company's email provider does not handle the placeholder email correctly, or that the placeholder prevents you from accessing some third-party GitHub Apps and OAuth apps.

Once you verify an email with a マネージド ユーザー アカウント, you won't be able to use the email to sign up for a personal account on GitHub.com.

メモ

If you need to use the same email address for both your マネージド ユーザー アカウント and another GitHub account (for example, for innersource, open source, or other valid use cases), you must sign in to your managed user account and unverify the email in your account settings.

The email will still be linked to your managed user account, so you can continue signing in through your organization's or enterprise's identity provider (IdP). However, because the email is unverified, it may affect your access to third-party applications that identify users based solely on email address.

Commit email addresses

GitHub uses your commit email address to associate commits with your account on GitHub. You can choose the email address that will be associated with the commits you push from the command line as well as web-based Git operations you make.

For web-based Git operations, you can set your commit email address on GitHub. For commits you push from the command line, you can set your commit email address in Git.

After changing your commit email address on GitHub, the new email address will be visible in all of your future web-based Git operations by default. Any commits you made prior to changing your commit email address are still associated with your previous email address.

To ensure that commits are attributed to you and appear in your contributions graph, use an email address that is connected to your account on GitHub.

For more information, see コミットメールアドレスを設定する.

Next steps