我最近更改了密码,无法在 Sourcetree 中检查我的 Bitbucket 存储库。我不断收到以下错误:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin
fatal: remote error: CAPTCHA required
Your Bitbucket account has been locked. To unlock it and log in again you must
solve a CAPTCHA. This is typically caused by too many attempts to login with an
incorrect password. The account lock prevents your SCM client from accessing
Bitbucket and its mirrors until it is solved, even if you enter your password
correctly.
If you are currently logged in to Bitbucket via a browser you may need to
logout and then log back in in order to solve the CAPTCHA.
存储库:
https://testuser.com/bitbucket/repo.git
我多次登录和退出,解决了验证码问题,但仍然出现同样的错误。我需要在 Bitbucket 端更新一些东西吗? Sourcetree 方面?或者可能是 URL?
谢谢
最佳答案
在 macOS 上,这对我有用:
- 关闭SourceTree
- 打开钥匙串(keychain)访问
- 搜索“bitbucket”并删除所有条目
- 转到 bitbucket 网站,注销并重新登录
- 打开 SourceTree 并输入密码
关于git - Bitbucket 无法 checkout Sourcetree 中的存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44547157/