GitHub: Permission denied (publickey). fatal: The remote end hung up unexpectedly

10/17 07:11
阅读数 0

问题:

I have followed these instructions below to upload a project.我已按照以下说明上传项目。

Global setup:全局设置:

 Download and install Git
  git config --global user.name "Your Name"
  git config --global user.email tirenga@gmail.com
  Add your public key


Next steps:

  mkdir tirengarfio
  cd tirengarfio
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin git@github.com:tirenga/tirenga.git
  git push origin master

But I get this error:但我收到此错误:

Permission denied (publickey).权限被拒绝(公钥)。 fatal: The remote end hung up unexpectedly致命:远端意外挂断


解决方案:

参考一: https://en.stackoom.com/question/FAyX
参考二: https://stackoom.com/question/FAyX
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部