node.js - Mac下用 hexo 部署blog, 执行 hexo deploy 命令报错
迷茫
迷茫 2017-04-17 15:44:04
0
2
705

“JasonXin” 是我之前的 gitHub账号,我已经执行 git config --global user.name 以及邮箱 换过账号了,怎么会报这个错误?
本地查看当前的账号也是我目前新的 gitHub账号啊? 有老司机帮瞅瞅么。。。。

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(2)
Ty80

You are using an ssh address. It seems that there is no corresponding ssh private key locally, or github has not uploaded your public key. For details, please refer to the official tutorial


I may know, look at your _config.ymlconfig file and there is one

deploy:
  type: git
  repo: git@github.com:your_name/Hexo_Blog.git
  branch: gh-pages

Has this been changed?

刘奇

Try using ssh address

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template