V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
anonymoustian
V2EX  ›  问与答

请问打开 SourceTree 为什么会出现 ssh-agent 启动失败这个错误?

  •  
  •   anonymoustian · 2015-11-12 23:51:55 +08:00 · 5078 次点击
    这是一个创建于 3112 天前的主题,其中的信息可能已经有所发展或是发生改变。

    之前一直都很正常,但是突然就出现了这个错误,导致不能将改动 push 到 Github 上了,使用 Git 命令行正常。

    错误信息详细如下:
    ssh-agent 失败,错误代码 -1 : System.Exception:Unable to to start '.\bin\ssh-agent.exe' check the git installation.()

    anonymoustian
        1
    anonymoustian  
    OP
       2015-11-13 00:24:18 +08:00
    自己的问题解决了,其实是 SourceTree 没有指定正确的 git.exe 目录导致的。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4930 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 07:46 · PVG 15:46 · LAX 00:46 · JFK 03:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.