[SVN] 关于 Bitbucket Cloud recently stopped supporting account passwords for Git authentication 之解决

Background

Bitbucket + Sourcetree

Issue Case

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --no-tags origin
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/###test###.git/'

How to fix?

#1. Create app password

https://bitbucket.org/account/settings/app-passwords/

For example you get password: ********

#2. Update SVN address

Before change

Bitbucket default address is not correct, as it doesn't has "APP Password" inlcuded.
git clone https://testaccountname@bitbucket.org/shinetechwuhan/###test###.git

After change

git clone https://testaccountname:********@bitbucket.org/shinetechwuhan/###test###.git

#3. Check again, SVN address should working now.

 

 

参考资料

https://itsmycode.com/solved-remote-bitbucket-cloud-recently-stopped-supporting-account-passwords-for-git-authentication/

posted @ 2022-03-14 14:17  jinzesudawei  阅读(758)  评论(0编辑  收藏  举报