我无法从 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) 下一切正常 - 这怎么可能?