【发布时间】:2013-11-08 18:10:02
【问题描述】:
我正在尝试将文件推送到朋友的 git 存储库,但公钥出错。
git push origin testbranch
Permission denied (publickey).
fatal: Could not read from remote repository.
我们在哪里以及如何定义公钥/私钥?
git remote -v 返回:
origin git@github.com:Sesamzaad/NET.git (fetch)
origin git@github.com:Sesamzaad/NET.git (push)
感谢任何帮助。
【问题讨论】:
-
嗨@wyguf,如果有帮助,请接受我的回答。 :) 谢谢
-
\302\226git@github.com: Permission denied (publickey). -
Luan Si Ho 的解决方案对我有用。 stackoverflow.com/a/43672761/7061796
标签: git permissions public-key