[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/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM