-
A Python script use ubuntu@localhost.localdomain as username and email for git config, and then push a commit to the remote repo. But a weird thing was happened, this commit was linked to another user(his name in github is “mountainswen”). |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
I can reproduce the same behavior. Looks like, the email address “ubuntu@localhost.localdomain” coincidentally is consistent with the account (may be a bot account) of the user “mountainswen”. To avoid this situation, I recommend you change the email address to another. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I rewrote the Python script and it’s normal now. But I am confused here, why the account can use a email address which is impossible to verify. |
Beta Was this translation helpful? Give feedback.
-
As far as I know, when setting the local git config, the values of “user.name” and “user.email” can be filled with any ones. Even if the user name and email are not existing. |
Beta Was this translation helpful? Give feedback.
-
Yes it is. But my point is, the user “mountainswen”, he uses “ubuntu@localhost.localdomain” as his email when register a github account, how he can verify this email address? I think “localhost.localdomain” just is a linux HOSTNAME. I mean, if I use “foo@localhost.localdomain” as a email address to register in github, who will receive the verify message? Thank you again. |
Beta Was this translation helpful? Give feedback.
-
This is a question about GitHub account, I recommend that you can go to the GitHub Account Questions board of the GitHub Community to look for an existing topic or start a new one about this account question. |
Beta Was this translation helpful? Give feedback.
-
Ok, thank you brightran. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
https://github.community/t/why-a-user-can-use-localdomain-eamil-address-as-register-email/136732/4?u=x-21