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
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,929 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