我執行以下命令:混帳推錯誤:不匹配您的用戶帳戶
git pull <partner_remote> <partner_branch>
git config user.email <my_email>
git config user.name <my_name>
git commit --amend --reset-author
git push <my_remote> HEAD:refs/for/<my_branch>
但我得到了「混帳推」後,出現以下錯誤:
remote: ERROR: In commit b6b74fff7850c4b61a5535519959b1ab58ca6fa9
remote: ERROR: committer email address [email protected]
remote: ERROR: does not match your user account.
remote: ERROR:
remote: ERROR: The following addresses are currently registered:
remote: ERROR: [email protected]
remote: ERROR:
remote: ERROR: To register an email address, please visit:
remote: ERROR: http://xxxxxxxx
我不知道如何解決它。
你有沒有或最近有人更改你的Git帳戶中的元數據? –
不,我的帳戶只有我可以使用,其他人無法使用我的帳戶。 – LayaCCC
上面的那些Git命令(以'git pull'開始......)在錯誤之前還是之後運行?如果之後,那麼問題很可能是您更改了您的用戶憑據,並且回購主機不喜歡它。 –