search

Home  >  Q&A  >  body text

Blog construction and configuration - How to solve the hexo -d error when building a blog using Hexo and GitHub?

PHP中文网PHP中文网2794 days ago632

reply all(4)I'll reply

  • 滿天的星座

    滿天的星座2017-05-02 09:38:29

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-02 09:38:29

    According to the description:
    fatal: Could not read from remote repository
    This should be a git error, indicating that there is no operation permission for the remote git library
    (It is estimated that the git library path configuration is incorrect, otherwise it will not even have read permission)

    If the problem is here, you can explore it as follows: (I am not sure whether using https git repository will cause this error)
    Check the _config.yml file

    deploy:
      type: git
      repository: git@github.com:username/username.github.io.git
    Is the configuration of

    correct

    Then follow github’s git clone tutorial
    https://help.github.com/articles/which-remote-url-should-i-use/
    Use ssh mode and configure the ssh key.

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:38:29

    Delete .deploy_git easily

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-02 09:38:29

    Permission problem, you can change the directory, such as /User/hexoIt should be solved.

    reply
    0
  • Cancelreply