Why is stash linking wrong user to commits?

I have created repository in stash. I pushed an existing repository to it. Now Stash has linked the wrong user to the commits.

I am the main committer on the repository. My git user.name matches my stash users full name. My git user.email matches my stash users email.

No other users in stash have the same full name or email as me.

But whenever I push the repository it always shows the commits as a different user. Why? How do I get stash to link my user to the commits? 

3 answers

1 accepted

There was a user with duplicate email in internal user directory. Seems stash takes the first user with matching email. Could be nice if they match on user name also.

Is it possibly because I have the same email but on different users in the commit logs? Author: Timothy Harris <tim@praqma.net> Date: Sat Jan 31 13:09:25 2015 +0100 AG-150: nothing really commit 4aad389d6c7095b5789aa7161dab16c572a25206 Author: Timothy Harris <tim@praqma.net> Date: Sat Jan 31 12:15:14 2015 +0100 AG-150: ignore idea files commit dc27ef98d263a41b74944ebad254c17a86fafbcb Author: EXT.Tim.Harris <tim@praqma.net> Date: Fri Jan 30 15:12:53 2015 +0100 AG-150 Create a defect cloner type. Started script to transition defect based on cloned defect status. NOT Fully working yet...

EXT.Tim.Harris does not exist in Stash

Suggest an answer

Log in or Join to answer
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...

675 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot