【发布时间】:2015-08-26 11:17:59
【问题描述】:
我在我的 Windows 8 虚拟机上运行 Git。我让 Git bash 使用 bitbucket 没有问题。但是,我只想使用命令提示符。我可以从命令提示符运行 git 命令,但由于某种原因,感觉 ssh 键不同步,几乎是在命令提示符尝试使用 bash 使用之外的其他东西时。尝试从命令提示符执行简单的 git pull 时遇到的错误是
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我从 git bash 运行命令没有任何问题。更令人抓狂的是,这在几周前还有效。我不记得做过任何会改变这一点的事情。也许最多重新启动。
有什么想法吗?
【问题讨论】: