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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,530 views 26 12
Join discussion

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