GitLab: Author ‘xxx‘ is not a member of team

重装系统之后git提交代码提示GitLab: Author ‘xxx‘ is not a member of team

重装系统git需要重新下载,需要配置用户名和邮箱

出现Author ‘xxx‘ is not a member of team原因主要有两种情况

:配置完用户名密码没有和gitlab关联ssh,需要生成密钥(github,gitlab,gitee等生成规则一样) 详情链接:https://www.cnblogs.com/cgy-home/p/12016851.html

:自己的git账号密码邮箱原来是aaa@outlook.com关联有github,gitee等,现在是bbb@qq.com关联的项目在gitLab上,

最后配置的email是bbb@qq.com导致

最终修改为aaa@outlook.com即可。

git config --global user.name "Grant"
git config --global user.email "aaa@outlook.com"
原文地址:https://www.cnblogs.com/cgy-home/p/15175479.html