重装系统之后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"

 

相关文章:

  • 2021-12-07
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
  • 2021-08-27
  • 2022-12-23
  • 2021-11-07
猜你喜欢
  • 2021-08-03
  • 2022-01-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-07-23
  • 2021-10-02
相关资源
相似解决方案