天天看点

hexo d unable to auto-detect email address (got ‘[email protected](none)‘)

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

hexo d unable to auto-detect email address (got ‘[email protected](none)‘)

2、在网上找了一下解决办法,一般都是说修项目路径中.git里的confg文件

hexo d unable to auto-detect email address (got ‘[email protected](none)‘)

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

hexo d unable to auto-detect email address (got ‘[email protected](none)‘)

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

git config --global user.email "[email protected]"
  git config --global user.name "Your Name"
           

个人博客地址