【发布时间】:2017-10-09 17:47:09
【问题描述】:
我打开 Windows cmd(不是 Git Bash)。转到其中包含.git 目录的项目。我运行git push 并收到:Enter passphrase for key '/c/Users/user/.ssh/id_rsa':。这意味着我运行了 ssh 代理并为其添加了密钥。
但是当我运行ssh-add -l 时,我得到Could not open a connection to your authentication agent.,它告诉我没有运行代理。
如何在不运行 ssh 代理的情况下运行 git push?还是 git push 命令立即启动?
【问题讨论】: