我是靠谱客的博主 欢呼哈密瓜,这篇文章主要介绍hexo d错误:fatal: unable to auto-detect email address,现在分享给大家,希望可以做个参考。

1.报错内容

     、
             
      *** Please tell me who you are.

      Run

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

   to set your account's default identity.
   Omit --global to set the identity only in this repository.

    fatal: unable to auto-detect email address (got 
    'helei@LAPTOP-6JRMEKMH.(none)')
    Everything up-to-date
    Branch 'master' set up to track remote branch 'master' from 
    'https://github.com/ithelei/ithelei.github.io.git'.
   �[32mINFO �[39m Deploy done: �[35mgit�[39m
      、
4689931-722cb98f0056a083.png
image.png

解决方案:

1.在文件浏览器中勾选显示隐藏的项目

4689931-ae0ac928a4db35d7.png
image.png

2.进入我们博客目录的“.deploy_git.git”子目录,找到config文件。

4689931-227fe7b5814a4273.png
image.png

3.打开config文件,添加以下内容

[user]
email=ithelei424@gmail.com
name=ithelei@sina.cn
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[branch "master"]
remote = https://github.com/ithelei/ithelei.github.io.git
merge = refs/heads/master

4689931-d9d7011963591c0d.png
image.png

  • 邮箱:ithelei@sina.cn
  • 技术讨论群:687856230
  • GoodLuck

最后

以上就是欢呼哈密瓜最近收集整理的关于hexo d错误:fatal: unable to auto-detect email address的全部内容,更多相关hexo内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(86)

评论列表共有 0 条评论

立即
投稿
返回
顶部