git - Bitbucket 无法 checkout Sourcetree 中的存储库

标签 git repository bitbucket atlassian-sourcetree

我最近更改了密码,无法在 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 上,这对我有用:

  1. 关闭SourceTree
  2. 打开钥匙串(keychain)访问
  3. 搜索“bitbucket”并删除所有条目
  4. 转到 bitbucket 网站,注销并重新登录
  5. 打开 SourceTree 并输入密码

关于git - Bitbucket 无法 checkout Sourcetree 中的存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44547157/

相关文章:

git - Bitbucket自动从远程存储库 pull 最新代码

android - .apk 包含 .git 文件夹

git - 多个模块(主题)的推荐工作流程

python - 导入错误 : No module named gi. 存储库

git - 处理拒绝/拒绝的 pull 请求

git:在我 merge 之前我做了什么提交?

maven-2 - 有没有免费的在线 Maven 存储库?

plugins - Gradle:非法重复错误

github - Jenkins 多分支管道的自定义项目识别器

bitbucket - 如何从 Bamboo 自动合并 Bitbucket 分支?