簡體   English   中英

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

我多次登錄和退出,解決了驗證碼,但仍然出現相同的錯誤。 我需要在 Bitbucket 方面更新一些東西嗎? 源樹方面? 或者也許是一個網址?

謝謝

在 macOS 上,這對我有用:

  1. 關閉源樹
  2. 打開鑰匙串訪問
  3. 搜索“bitbucket”並刪除所有條目
  4. 轉到bitbucket網站,注銷並重新登錄
  5. 打開 SourceTree 並輸入您的密碼

我按照以下步驟為 Git 設置 SSH 解決了這個問題: https : //confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html

存儲庫:

ssh://git@testuser:repo.git

以前我使用 HTTPS 協議,它導致錯誤。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM