4 ms·
What happens if multiple github users add the same unverified email address for a particular commit in a repo to their accounts, how does it know which github u
by anfractuosity 5y ago
What happens if multiple github users add the same unverified email address for a particular commit in a repo to their accounts, how does it know which github username to pick to display next to the commit?
- guessmyname 5y agoAn email address can only be associated to a single GitHub account. If “Alice” adds alice@example.test to their account, GitHub will check if the email is not associated to an existing account, and then proceed to handle the request. Then, when “Bob” tries to add the same email to their account, GitHub prints the following error message “ Error adding alice@example.test: email is already in use.” In your example, GitHub will display the username of the first user to add the (unverified) email to their account.