It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Leader 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 Leader 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 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,085 views 4 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you