我最近更改了密码,无法在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://jhess.com/bitbucket/repo.git
我多次登录和退出,解决了CAPTCHAS并仍然得到同样的错误。我是否需要更新Bitbucket方面的内容? Sourcetree方面?或者也许是一个URL?
由于
答案 0 :(得分:2)
在macOS上,这对我有用:
答案 1 :(得分:0)
我通过以下步骤为Git设置SSH解决了这个问题: https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html
存储库:
ssh://git@jhess:repo.git
以前我使用的是HTTPS协议,导致错误。