Reputation: 655
I am cloning a repo on bitbucket from a new computer, but it's asking me for a password. My bitbucket password does not work. Cloning repo's on GitHub works fine. Any advice would be greatly appreciated!
This is the error I keep seeing after using my Bitbucket password.
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.
Upvotes: 3
Views: 19817
Reputation: 524
For anyone trying to clone for first time please follow following steps to generate password and store it somewhere so that you can access it later on whenever it's required.
Upvotes: 10
Reputation: 1329452
It depends on your protocol (https or ssh).
git config --global credential.helper
returns.The OP jschuss adds in the comments:
After a lot of trial and error I managed by changing my Atlassian password credentials and it worked
It is possible the previous password had special characters, that would need to be percent encoded when cached.
However, the OP jschuss confirms in the comments it might be a current bug:
No, my old password did not contain any special characters.
But the act of setting a new password/ waiting a few minutes/ using a new terminal window was suggested to me by the support team after I had done it already, so it seems to be something people are dealing with lately.
Upvotes: 1