萌新第一天:Hexo搭建遇到的问题

2,063 阅读1分钟

Hexo搭建遇到的问题


问题一:已存在仓库但出现git remote: Repository not found.

个人发现原因:

1:必须要有如上图的缩进

2:在GitHub上面建立的仓库名称必须符合xxx.github.io否则无法被识别

问题2:添加域名时出现Domain's DNS record could not be retrieved. For more information, see

个人发现原因: 域名解析设置中的设置出现问题,应设置为

 @         A             185.199.108.153

 www      CNAME           username.github.io.

另一些文章上写到设置为如下

 @         A             192.30.252.153

 @         A             192.30.252.154

 www      CNAME           username.github.io.

但出现The custom domain for your GitHub Pages site is pointed at an outdated IP address. You must update your site's DNS records if you'd like it to be available via your custom domain. For more information, see 原因暂时不知道

最后,本人才疏学浅,如有纰漏,还望指教