一、remote: GitLab: Author ‘xxxx‘ is not a member of team(Git修改和配置本地用户名和邮箱)
git push失败,显示以下消息:
git push
Enumerating objects: 10, done.
Counting objects: 100% (10/10), done.
Delta compression using up to 8 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (7/7), 335.31 KiB | 5.50 MiB/s, done.
Total 7 (delta 2), reused 0 (delta 0), pack-reused 0
remote: GitLab: Author 'rw5352zr@163.com' is not a member of team
git在push的时候,需要使用到user.name和user.email,
查看user.name/user.email
1、git config user.name
2、git config user.email
查看所有配置信息
1、git config --list
配置user.name/user.email文章来源:https://www.toymoban.com/news/detail-770544.html
1、git config user.name "newName"
2、git config user.email "newEm文章来源地址https://www.toymoban.com/news/detail-770544.html
到了这里,关于git push 常见错误的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!