无法登录 SourceTree

Cannot login to SourceTree

我的公司有一个 Atlassian 的 Bitbucket 帐户。我已经下载了 Sourcetree 的最新更新;当我尝试登录时,我的凭据不被接受。

如果我通过我的网络浏览器访问此页面,也会发生同样的情况:https://id.atlassian.com/login?application=mac&continue=https://my.atlassian.com

但是,如果我尝试登录 https://company.atlassian.net/login?它工作正常。

我必须使用某种约定来告诉 Atlassian 我的公司名称作为我的登录用户 ID 的一部分(即 username@company)吗?

如果不通过此屏幕,Sourcetree 不会让我做任何事情。

尝试退出 SourceTree 应用程序并重新启动。

我遇到了类似的问题。我的 id.atlassian.com 凭据在线有效,但在 SourceTree 中多次失败。重新启动后对我有用。

Atlassian 建议目前坚持使用旧版本:https://twitter.com/sourcetree/status/699624992003244033

更新 2 月 22 日,Atlassian apologized and released SourceTree 2.2.2. However, some folks are still tweeting issues with the initial login on the release announcement.

删除除 git 集线器之外的 sourcetree 身份验证部分中的所有其他身份验证 ID。

然后单击“添加”或转到“托管存储库”(以快速检查是否成功)并单击“编辑帐户”。

凭据 select OAuth 和 select 刷新令牌。您将被重定向到您登录的 bitbucket 网站,然后单击授予访问权限。

现在在 sourcetree 的身份验证部分转到您的新帐户,然后 select 设置为默认帐户。

完成。现在您应该在托管存储库中看到所有存储库。不成功显示登录错误

我 运行 下载文件夹中的应用程序并遇到了这个问题。 移至“应用程序”文件夹修复了我的问题。

检查您的 git 是否是最新的。

如果更新 git 不起作用,如果您使用的是 Windows,则可以 install/update https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases

来自位于 github 的项目主页:

As of 22 Feb 2018, GitHub has disabled support for weak encryption which means many users will suddenly find themselves unable to authenticate using a Git for Windows which (impacts versions older than v2.16.0). DO NOT PANIC, there's a fix. Update Git for Windows to the latest (or at least v2.16.0).