Bitbucket 无法签出 Sourcetree 中的存储库
Bitbucket cannot checkout repository in 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
我多次登录和退出,解决了CAPTCHAS,仍然得到同样的错误。我需要在 Bitbucket 端更新一些东西吗? Sourcetree 方面?或者 URL?
谢谢
我按照以下步骤为 Git 设置 SSH 解决了这个问题:
https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html
存储库:
ssh://git@testuser:repo.git
之前我使用的是 HTTPS 协议,它导致了错误。
在 macOS 上,这对我有用:
- 关闭 SourceTree
- 打开钥匙串访问
- 搜索 "bitbucket" 并删除所有条目
- 转到 bitbucket 网站,注销并重新登录
- 打开 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
我多次登录和退出,解决了CAPTCHAS,仍然得到同样的错误。我需要在 Bitbucket 端更新一些东西吗? Sourcetree 方面?或者 URL?
谢谢
我按照以下步骤为 Git 设置 SSH 解决了这个问题: https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html
存储库:
ssh://git@testuser:repo.git
之前我使用的是 HTTPS 协议,它导致了错误。
在 macOS 上,这对我有用:
- 关闭 SourceTree
- 打开钥匙串访问
- 搜索 "bitbucket" 并删除所有条目
- 转到 bitbucket 网站,注销并重新登录
- 打开 SourceTree 并输入密码