Git push is getting rejected with the following error message:
expected committer email '' but found '[email protected]'
I have already tried:
But none has worked. What else can I do to resolve it.
This worked for me
git config --global user.name "Correct Name" git config --global user.email [email protected] git commit --amend --reset-author
This work for me:
git config --global user.name "Correct Name" git config --global user.email [email protected] git commit --amend --reset-author
It will show the screen where you can edit the commit message, after edit or keep it as it is, then press escape and then :wq
and hit enter.
Then:
git push
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With