Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a new GitHub account with the same email address?

Tags:

github

account

We are using GitHub Enterprise 2.5.1.

In our company, when a user switches to a new role, a new AD account will be created for him, with a new set of permissions. e.g. my current account is "huj" as a developer with email address "[email protected], if I become a BA, then:

  1. The old account "huj" will be marked as "OIM Deletion" in AD.
  2. A new account called "huj2" will be created for me, with the same old email address, [email protected].

My questions are:

  1. As account is automatically created upon login, if I login to GitHub with the new account "huj2", I got this error: Unable to create the user because email [email protected] is already taken and emails is invalid.
  2. How can I create the new account "huj2" in GitHub, with the same old email address.
  3. What's the consequence of doing the above?
like image 419
Jirong Hu Avatar asked Jul 18 '16 20:07

Jirong Hu


People also ask

Can you have 2 GitHub accounts?

Contributing to two accounts using HTTPS and SSHIf you contribute with two accounts from one workstation, you can access repositories by using a different protocol and credentials for each account. Git can use either the HTTPS or SSH protocol to access and update data in repositories on GitHub.com.

Can I change my GitHub email address?

You can change the email address associated with your personal account at any time. Note: You cannot change your primary email address to an email that is already set to be your backup email address.


2 Answers

I know this is an old post but it still shows at the top on a Google search on this subject.

Some email providers support using special characters to use multiple email addresses that map to a single account. For example, if you use Gmail and your email address is [email protected] and you already have an account on GitHub with that email you can create a new GitHub account using [email protected]

like image 134
Diego Ledesma Avatar answered Sep 27 '22 22:09

Diego Ledesma


The simple answer is NO. You can't create more than 1 ID in GitHub by the same email, but you can do it by using multiple email IDs.

If you try to do it, GitHub will show an error - "email invalid or already taken", so delete the present account or make it with a new email id .

like image 38
user12449933 Avatar answered Sep 27 '22 21:09

user12449933