github不能通过邮箱搜索到用户-xxx does't have a github account

问题描述:

在给项目添加成员的时候,通过邮箱搜索,提示“xxx does’t have a github account”。用用户名来搜索就能搜索到。

原因:

(引用大佬的回答)

You’ll only be able to find a GitHub user by their email address if they’ve chosen to list it publicly. Otherwise, use their username instead.

解决方法:

github不能通过邮箱搜索到用户-xxx does't have a github account

补充说明:

除了邮箱,还可以通过用户名添加吖~ 祝大家coding愉快!
github不能通过邮箱搜索到用户-xxx does't have a github account