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