SourceTree for Windows不工作

前端之家收集整理的这篇文章主要介绍了SourceTree for Windows不工作前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
当我从命令行输入git pull时,我可以得到代码没有任何问题.

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

  1. git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
  2. fatal: Could not read from remote repository.
  3. Please make sure you have the correct access rights
  4. and the repository exists.
  5.  
  6.  
  7.  
  8. Completed with errors,see above.

我可能做错了什么?

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

如果你只有OpenSSH密钥:

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

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

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

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

猜你在找的Windows相关文章