目前我对乌龟 git 有一个奇怪的问题,我无法弄清楚。尝试提交到我在 github 上的存储库时出现错误
错误:对 martindevans/Hermes.git 的权限拒绝 key2
Key2 是我用来访问不同 github 存储库的密钥,但是远程 url 未设置为使用 key2,正如您在此处看到的那样,它被设置为使用 private.ppk
我是在做明显错误的事情,还是乌龟 git 坏了?
NB。回应评论。使用普通 git 会导致:
C:\Users\Martin\Documents\Visual Studio 2010\Projects\Hermes>git push
Permission denied (publickey).
fatal: The remote end hung up unexpectedly