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

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

迷茫
迷茫

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

Antworte allen(2)
Ty80

你用的是ssh地址,目测是本地没有对应的ssh私钥,或者github没有上传你的公钥,具体可以看官方教程


我可能知道了,你看看你的_config.yml配置文件中有个

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

这个改了吗?

刘奇

试试用ssh地址

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!