I use BitBucket and had to change my password because it was compromised.
git pull
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://bitbucket.org/myusername/myproject.git/'
How can I change my password using command line?
You need to reset the password as shown below.
On macOS:
git config --global credential.helper osxkeychain
On Windows 10/11:
git config --global credential.helper store
After executing this, it prompts you for the user name and password for your repo.
I think is only an authentication problem...
That's all :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With