无效的用户名或密码。比特桶

Invalid username or password. Bitbucket

我想开始尝试使用 BitBucket。
我刚刚创建了一个 repo 并尝试推送我的第一件事,但是当我“$ git push origin master”时,出现一个 window,要求我在 bitbucket 上输入用户名和密码。
我正确地介绍了它们(我登录 bitbucket 时使用的那些)并且出现了这条消息

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/*********/******.git/'

我正在使用 Windows。
我试过 MinGW 和 Tortoise,都给了我同样的错误。
出现此错误的原因可能是什么?

首先,如果您使用的是Git for Windows, your credential helper should be set to the Microsoft Git-Credential-Manager, linked to the Credential Manager in Windows

因此打开该凭据存储以更改您在那里记录的凭据。

其次,仔细检查您的 BitBucket 帐户用户名和密码。确保您的帐户是 https://****@bitbucket.org/....
中显示的帐户 并确保您的密码(用于此处测试)没有任何特殊字符(如 @

git config --global credential.helper osxkeychain
git config --global credential.helper store (for window users)
it will reset your password

当您再次使用 sourcetree 时,它​​会提示您访问您的密钥