search

Home  >  Q&A  >  body text

chrome - hexo+github built a blog and finally couldn’t resolve host "github.com"

When building a blog using hexo github, after configuring the local static blog, I want to upload the local project to the github server to truly complete a blog, but when I complete the configuration in git bash_ config.yml file, and after creating the first blog file hexo new "hello", enter hexo d on the command line -g did not produce the correct result according to the online tutorial, _config.yml, and the error screenshots are as follows:

The error message reported under gitbash is as follows:

Error message: fatal unable to access 'https://github.com/SkyWongHz/...';Couldn’t resolved host "github.com"
I first Googled that it might be a problem caused by the two upload methods of github. I am now configuring it in https mode, maybe This problem can be solved by ssh configuration. I don't know much about ssh configuration and haven't looked into it in depth, so now I have found the root cause of the problem, or it is said that the problem is caused by other situations.
The front-end newbie is setting up a blog, I hope you can help me!

滿天的星座滿天的星座2804 days ago827

reply all(2)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-02 09:50:57

    How do you upload without ssh configuration?
    The tutorial is on Liao Xuefeng’s blog
    http://www.liaoxuefeng.com

    reply
    0
  • ringa_lee

    ringa_lee2017-05-02 09:50:57

    It should be a DNS resolution problem.

    reply
    0
  • Cancelreply