GIT Error:- expected committer email '' but found 'karan@xyz.com'

后端 未结 6 2071
旧巷少年郎
旧巷少年郎 2020-12-29 07:48

Git push is getting rejected with the following error message:

expected committer email \'\' but found \'karan@xyz.com\'

I have already tri

6条回答
  •  [愿得一人]
    2020-12-29 08:08

    This worked for me

    git config --global user.name "Correct Name" 
    git config --global user.email name@email.com 
    git commit --amend --reset-author
    

提交回复
热议问题