创建博客时可能遇到的问题
博客创建时会遇到的问题
1.1 问题描述
git add . 上传时出现警告
warning: in the working copy of ‘…‘, LF will be replaced by CRLF the next time Git touche
或者
错误 fatal: bad boolean config value ‘fals’ for ‘core.autocrlf’
1.2 解决方案
链接1. https://blog.csdn.net/weixin_55252589/article/details/129017650
git add . 或者博客上传远端时前执行
链接2. https://stackoverflow.com/questions/66891275/fatal-bad-boolean-config-value-for-core-autocrlf
1 | git config --global core.autocrlf false |
2.上传github时不显示
2.1 问题描述
上传github时,不显示博客内容
2.2 解决方案
生成页面前清除缓存
1 | hexo clean |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Tao ying!
评论




