我的 Bitbucket 密码是正确的,因为我可以使用该密码轻松登录。当我尝试将项目或文件推送到 Bitbucket 时,它显示“无效凭据错误”。
git push -u origin master
fatal: Invalid credentials
Password for 'https://username@bitbucket.org':
remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/
fatal: Authentication failed for 'https://bitbucket.org/username/demo.git/'
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?