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

Jirong Hu picture Jirong Hu · Jul 18, 2016 · Viewed 13.9k times · Source

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?

Answer

Diego Ledesma picture Diego Ledesma · Aug 9, 2018

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]