title | intro | redirect_from | versions | topics | shortTitle | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Unlinking your email address from a locked account |
If you have lost your two-factor authentication (2FA) credentials and are unable to recover access, you can remove the connection between your email address and a 2FA locked account. The email address is then available for you to link it to a new or existing account, maintaining your commit history. |
|
|
|
Unlink your email |
Since an email address can only be associated with a single {% data variables.product.prodname_dotcom %} account, when you've lost your 2FA credentials and are unable to recover access, unlinking your email address from the locked account allows you to link that email address to a new or existing account. Additionally, linking a previously used commit email address to a new account will connect your commit history to that account. Unless you have chosen to keep your email address private, your account's commit email address is the same as your account's primary email address. See AUTOTITLE.
Note
The {% data variables.product.github %}-provided noreply
email address cannot be unlinked from an account. Commits authored with a noreply
address cannot be reconnected to a different account.
Be aware that nothing else associated with your 2FA locked account, including your repositories, permissions, and profile, will transfer to your new account.
Unlinking email addresses is only available for accounts with 2FA enabled. If you do not have 2FA enabled, you can sign in and remove your email address from your account settings.
Warning
Following these steps will not disable 2FA or provide access to a locked account, but will instead unlink the associated email address so it may be used for a different account. If you cannot regain access to the 2FA locked account, these steps will permanently break the link between the account and the linked email address. Before continuing with this article, be sure you have lost all access to your account. See AUTOTITLE.
Educational benefits and discounts cannot be transferred after an email address is unlinked and associated with a different account. To keep these benefits, you must continue using the original account that was used to apply.
If you know your password, you can sign in with your password to unlink your email address
- Navigate to https://github.com/login.
- To prompt two-factor authentication, type your username and password, then click Sign in.
- Under "Having problems?", click Use a recovery code or begin 2FA account recovery.
- Under "Locked out?", click Try 2FA account recovery, or unlink your account email address(es).
- In the modal that appears, click I understand, get started.
- You may be required to verify an email address. To send an email containing a one-time password to each email address associated with your account, click Send one-time password.
- To verify your identity, type the one-time password from your email in the "One-time password" text field, then click Verify email address. {% data reusables.accounts.unlinking-email-address %}
If you do not know your account password, you can request a password reset link to unlink your email address.
{% data reusables.accounts.request-password-reset-link %}
- On {% data variables.product.prodname_dotcom %}, you will be prompted for your 2FA credentials. Under "Having problems?", click Start a 2FA recovery request or unlink your account email address(es).
- In the modal that appears, click I understand, get started. {% data reusables.accounts.unlinking-email-address %}