小编Bil*_*adj的帖子

GitLab:您不能推送 . 您只能推送使用您自己经过验证的电子邮件之一提交的提交

我遇到了这个奇怪的问题,我用我的凭据 ( my_correct@email.adress)克隆了一个存储库。但我无法推送更改,因为我总是收到此消息:

GitLab: You cannot push commits for 'my_wrong@email.adress' . You can only push commits that were committed with one of your own verified emails.
Run Code Online (Sandbox Code Playgroud)

问题是,当我检查全局和存储库用户时,我发现它是my_correct@email.adress

全球(以下确认我的正确地址):

git git config  --global user.email
git config  --global user.name
Run Code Online (Sandbox Code Playgroud)

存储库(下面确认我的正确地址):

git git config  user.email
git config   user.name
Run Code Online (Sandbox Code Playgroud)

我该怎么办,这个神秘的谜团背后的原因是什么?

git gitlab

1
推荐指数
3
解决办法
1万
查看次数

标签 统计

git ×1

gitlab ×1