Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Commit in Bitbucket repo shows Your Name name and yourname@example.com mail

Officine IADR November 22, 2021
Hi everyone.
Today I cloned my project on a new machine and made some updates.
The cloning was done with the usual "git clone https: //XXXXXX@bitbucket.org/XXXXX/XXXXproject.git"
After this I execute the steps from the command line to push
git add *
git commit -m "XXXX"
and here I get an error: "Authentication Failed"
I try to put the user data that I thought was present locally on my git but
I don't solve... after a couple of attempts I try to put
$ git config --global user.name "your name"
$ git config --global user.email yourname@example.com
(I was a little frustrated)
this worked and I pushed
The repository is private and obviously the user "your name" does not exist.
But now I have a commit made by "your name"
Can anyone tell me how this is possible or help me understand?
Thanks

1 answer

0 votes
Norbert C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 24, 2021

@Officine IADR 

Let me introduce myself, I'm Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet you! Also, please feel welcomed to the Atlassian Community, it's good to see you here :).

I'd like to inform you that once a user successfully authenticates themselves to Bitbucket Cloud, Bitbucket Cloud honors what Git tell us, therefore, if the user has a wrong configuration in their git configuration file, we still accept it as the user was able to authenticate themselves

To verify if the username which is used for authentication matches with your actual username, can you access the Credential Manager in your OS and search for the following entry?
MAC: Keychain Access
Windows: Credential Manager
Entry to search for: git://https://username@bitbucket.org

Please let us know how it goes, we're here to help :).

Have a wonder week ahead!

Best Regards,
Norbert
Atlassian Bitbucket Cloud Support Engineer

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events