我正在尝试推动一些更改,但我公司的bitbucket服务器阻止了我(理所当然!)使用错误的提交人电子邮件提交。git push失败了,出现了五个条目,就像我放在下面的条目一样:
remote: Push rejected.
remote:
remote: refs/heads/feature/<branch>: efc45b4345f500b0175624d97a3cad96d9268e61: expected committer email '<company@email>' but found '<some@value>'我如何才能更改提交者的电子邮件,以便提交我需要推送的提交?
发布于 2019-03-29 19:55:32
git commit --amend --author="Author Name <email@address.com>"https://stackoverflow.com/questions/55416867
复制相似问题