anonymoustian
V2EX  ›  问与答

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

  •  
  •   anonymoustian · Nov 12, 2015 · 5497 views
    This topic created in 3832 days ago, the information mentioned may be changed or developed.

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

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

    anonymoustian
        1
    anonymoustian  
    OP
       Nov 13, 2015
    自己的问题解决了,其实是 SourceTree 没有指定正确的 git.exe 目录导致的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1037 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 18:26 · PVG 02:26 · LAX 11:26 · JFK 14:26
    ♥ Do have faith in what you're doing.