Hi, i have a atlassian user with my email provided from the company, i have created a repository behalf of the company, but when i do commits, my avatar dosent show up, just a placeholder and says that: This user cannot be matched to an Atlassian user. How can i fix this, because when i do commits, it now shows up, but when i merged and etc. via bitbucket my avatar url shows up, how can i fix this?
This show when i commit, but when i merged and etc. via bitbucket i get it right:
This is really annoying, how can i fix this?
In my .ssh folder i have a config where im using two ssh-keys:
Host *
UseKeychain yes
AddKeysToAgent yes
#Github (default)
Host gh
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa
#Bitbucket (secondary)
Host bb
HostName bitbucket.org
User git
IdentityFile ~/.ssh/id_rsa_bb
Thank you!
Community moderators have prevented the ability to post new answers.
If the email address in your commit does not match what's in Bitbucket you will see this behavior. I recommend generating ssh keys that include your email:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"Then configure git to use the same email address and user name you use in Bitbucket so that these appear in your commit log:
git config --add user.email "your_email@example.com" git config --add user.name "First Last"Good luck and happy coding!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the answer. Like Bhaveshkumar said, configuring email and user name was sufficient for me without the need to generate a ssh key.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another option is to add your remaining emails address as alias at:
https://bitbucket.org/account/settings/email/
More info:
https://confluence.atlassian.com/bitbucket/set-email-aliases-792298714.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.