How to merge duplicate users

I'm not really sure what's going on but I have two users for one person (see image).

How can I merge the two accounts together? 

 

Screenshot from 2015-05-22 12:56:58.png

E: Amending the authors as below was a step in the right direction. The repo only shows one contributor but on the people page "Ashton" still exists and the commit was essentially duplicated. Is this a bug in Stash?

git rebase -i --root
 
Change "pick" => "edit" @ line 1
 
git commit --amend --author="Ashton Ward <EMAIL>"
git rebase --continue
git push -f origin master

Screenshot from 2015-05-22 20:25:49.png

 

1 answer

2 votes
Timothy Chin Community Champion May 22, 2015

In Stash, especially for commits, users are determined by the Display Name and then Email address. You'll have to fix the commit authors to get this right.

If you are committing from several computers, make sure you are using the same .gitconfig settings (name, e-mail).

Amending the repo was a step in the right direction though now the commit appears to be duplicated on the people page (see edit in answer). Is this a bug in Stash?

Timothy Chin Community Champion May 23, 2015

I am not sure on that. Maybe there is a cache somewhere in Stash. Try restarting Stash?

Restarting Stash had no effect. My guess is the database wasn't updated.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

216 views 3 7
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