如果第一次登录凭据错误,则 Sourcetree 无法克隆存储库

Sourcetree cannot clone repository if wrong login credential in the first time

进入克隆后 url 出现一个登录屏幕,输入登录名和密码。

但是,我想知道我输入错误,我未能克隆存储库。然后,无论我重试克隆还是重新安装 Sourcetree,在尝试克隆时都会出现错误:

Error: remote: HTTP Basic: Access denied
fatal: Authentication failed

不再显示登录屏幕,但一直拒绝访问。

我曾按照 Remove credentials from Git 的指示在控制面板中使用凭据管理器,但我找不到任何与之相关的凭据。

我是 Sourcetree 的新手,Git,希望有人能帮助我。

https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564

同样的方法,从

中删除密码文件
C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree

然后您就可以再次输入密码了:)