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"

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM