无法将Git存储库克隆到sourcetree,登录屏幕不断出现

问题描述 投票:1回答:2

在BitBucket中,当我选择克隆到源树时,URL是格式的

Sourcetree会打开详细信息进行克隆,但无论我输入多少次,都会不断询问我的登录详细信息。

https://[email protected]/mygroup/myrepository.git

我在另一台计算机上也没有问题(也是Windows 10)

我尝试升级SourceTree并重新安装源树

我尝试过System Git和Embedded Git并重新安装两个Git

我可以克隆Mercurial存储库

在Dos提示符下我可以输入

git clone https://[email protected]/mygroup/myrepository.git

我收到一条消息

fatal: HttpRequestException encountered
An error occurred wihe sending the request

然后它要求我的密码然后继续克隆

但是在sourcetree中,存储库显示有更多分支要拉。我无法拉动这些分支机构

当我转到工具 - >选项 - >验证选项卡时,我可以看到[email protected]作为帐户。

如果我尝试添加[email protected],我会得到

身份验证失败无效的URL:无法解析主机名。

bitbucket atlassian-sourcetree
2个回答
3
投票

Atlassian community

“唯一对我有用的是导航到C:\ Users \ USERNAME \ AppData \ Local \ Atlassian \ SourceTree并删除passwd文件。”


1
投票

有同样的问题,但在MacOS上。为了完成答案,我将在MacOS上添加密码,密码存储在KeyChain Access中,需要从那里删除密码。

© www.soinside.com 2019 - 2024. All rights reserved.