加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

SourceTree for Windows不工作

发布时间:2020-12-13 22:44:25 所属栏目:Windows 来源:网络整理
导读:当我从命令行输入git pull时,我可以得到代码没有任何问题. 当我为Windows打开SourceTree,并尝试拉,我得到: git -c diff.mnemonicprefix=false -c core.quotepath=false fetch originfatal: Could not read from remote repository.Please make sure you hav
当我从命令行输入git pull时,我可以得到代码没有任何问题.

当我为Windows打开SourceTree,并尝试拉,我得到:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.



Completed with errors,see above.

我可能做错了什么?

看起来像在Windows上使用SourceTree你必须使用Putty Agent. OpenSSH键不起作用

如果你只有OpenSSH密钥:

>单击“工具”菜单中的“创建或导入SSH密钥”
>在油灰键生成器中,从“转化”菜单中选择“导入”键
>选择您的私钥,然后单击保存私钥

您现在拥有包含您的密钥的PPK文件.

在源树中,从工具菜单启动SSH代理,浏览到PPK文件.

所有操作现在都可以正常工作.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读