Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,838
Community Members
 
Community Events
165
Community Groups

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

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 Nov 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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,247 views 2 9
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