1、通过GitHub、Gitee搭建个人博客,在更新内容的时候出现了下面的错误;

hexo d unable to auto-detect email address (got 'root@localhost.(none)')

2、在网上找了一下解决办法,一般都是说修项目路径中.git里的confg文件
hexo d unable to auto-detect email address (got 'root@localhost.(none)')

3、我这边修改了没有效果,还是会出现同样的错误仔细看下错误日志,发现其实已经给出了明确的解决方法

hexo d unable to auto-detect email address (got 'root@localhost.(none)')

4、老实的按照提示执行下配置命令,问题完美解决

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

个人博客地址

相关文章:

  • 2021-06-03
  • 2021-05-06
  • 2021-04-30
  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
  • 2021-06-14
猜你喜欢
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2021-04-11
  • 2021-05-28
  • 2021-10-21
  • 2022-12-23
相关资源
相似解决方案