博客生成之后,按照网上别人的教程,讲项目部署到github上,修改_config.yaml中的deploy部分如下所示:

deploy:
type: git
repository: https://github.com/nummy/nummy.github.io.git
branch: master

  执行hexo deploy报错:

error: The requested URL returned error:  Forbidden while accessing https://github.com/nummy/nummy.github.io.git/info/refs

fatal: HTTP request failed
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: error: The requested URL returned error: Forbidden while accessing https://github.com/nummy/nummy.github.io.git/info/refs

  修改repository为:

 repository: https://github.com/nummy/nummy.github.io.git

  就可以部署成功了。

04-27 23:59