zoukankan      html  css  js  c++  java
  • hexo博客部署到github无法上传的问题

      博客生成之后,按照网上别人的教程,讲项目部署到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: 403 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: 403 Forbidden while accessing https://github.com/nummy/nummy.github.io.git/info/refs

      修改repository为:

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

      就可以部署成功了。

  • 相关阅读:
    ACM中java的使用
    hdu 1273最大流
    1066N !最右边非零数
    关于为什么要建退边的原因
    浅析指向指针的指针其作用
    poj 1860 bellman 求正环
    poj 3461
    poj 2031
    poj 1068
    strncpy的用法
  • 原文地址:https://www.cnblogs.com/fireflow/p/5195269.html
Copyright © 2011-2022 走看看