Blog construction and configuration - How to solve the hexo -d error when building a blog using Hexo and GitHub?
PHP中文网
PHP中文网 2017-05-02 09:36:29
0
4
615

PHP中文网
PHP中文网

认证0级讲师

reply all(4)
滿天的星座

習慣沉默

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.

世界只因有你

Delete .deploy_git easily

大家讲道理

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

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