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