Skip to content

My email is hacked, I cannot recover , how can I change my GitHub email to my new email? #139508

Discussion options

You must be logged in to vote

Hey @im-Nitesh

If your Gmail is hacked and you're unable to recover it, here's how you can change your GitHub email to a new one:

1. Log into GitHub using your existing credentials.

2. Add a new email:
->Go to Settings > Emails.
->Under Add email address, enter your new email and click Add.

3. Verify your new email:
GitHub will send a verification link to your new email. Click on the link to verify it.

4. Set your new email as primary:
->After verifying the new email, go back to Settings > Emails.
->Next to your new email, click Make primary.

5. Remove your old email:
Once your new email is set as primary, you can remove the old (hacked) email from your account.

6. Enable 2FA (Two-Factor …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by im-Nitesh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Security Build security into your GitHub workflow with features to keep your codebase secure Question
3 participants