【发布时间】:2013-02-14 23:59:08
【问题描述】:
我无法从 Windows (DOS) 命令提示符推送到 github,但从 bash 中它可以工作。
如果我运行 git push origin master 我得到:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
如果我运行ssh-add,我得到了:
Could not open a connection to your authentication agent.
在 bash (msysgit) 下一切正常 - 这怎么可能?
【问题讨论】: