expected committer email and expected committer name name are wrong Edited

Himanshu I'm New Here Dec 05, 2017

Hi Team,

Getting error in source tree while pushing. 

Error - 

expected committer email 

expected committer name

Are wrong data going on server.


Please look this issue and revert as soon as possible.



remote:   (c).-.(c)    (c).-.(c)    (c).-.(c)    (c).-.(c)    (c).-.(c)         

remote:    / ._. \      / ._. \      / ._. \      / ._. \      / ._. \         

remote:  __\( Y )/__  __\( Y )/__  __\( Y )/__  __\( Y )/__  __\( Y )/__        

remote: (_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)        

remote:    || E ||      || R ||      || R ||      || O ||      || R ||        

remote:  _.' `-' '._  _.' `-' '._  _.' `-' '._  _.' `-' '._  _.' `-' '.        

remote: (.-./`-'\.-.)(.-./`-`\.-.)(.-./`-`\.-.)(.-./`-'\.-.)(.-./`-`\.-.) 




1 answer


That's from the Yet Another Commit Checker add-on.  One of its options is checking to make sure the AUTHOR and COMMITTER metadata in the commit objects you're pushing match the name and email-address configured for you on the Bitbucket server.

If you do a "git log --pretty=fuller @{u}..HEAD" it will probably show you the problem.   Here's what that command shows for me:


commit 115a14ccad19351ede7ded8d708aeab83263ee1c
Author: G. Sylvie Davies <sylvie@bit-booster.com>
AuthorDate: Tue Oct 31 00:22:35 2017 -0700
Commit: G. Sylvie Davies <sylvie@bit-booster.com>
CommitDate: Tue Oct 31 00:22:35 2017 -0700

In my case my name "G. Sylvie Davies" and my email address "sylvie@bit-booster.com" do match the values on my Bitbucket Server user profile.

To change these values on your local git environment:

git config --global user.name  "Mona Lisa"
git config --global user.email "mona.lisa@gmail.com"

 But that only changes the data for new commits.  Old commits are immutable.  You need to regenerate the commits you are trying to push to take in the updated metadata.  This should do the trick:

git commit --amend --reset-author

Try pushing again after that's been done.

Himanshu I'm New Here Dec 14, 2017

Even above not working for me. 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,967 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you