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

This widget could not be displayed.

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.

Thanks for your feedback! I've updated your comment on our KB below: https://confluence.atlassian.com/display/STASHKB/Commit+in+Stash+shows+a+different+username+than+the+one+that+pushes+the+code - Thiago Bomfim

This widget could not be displayed.

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...

This widget could not be displayed.

EXT.Tim.Harris does not exist in Stash

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,655 views 9 11
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