1.报错内容
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20、 *** 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 、

image.png
解决方案:
1.在文件浏览器中勾选显示隐藏的项目

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

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

image.png
- 邮箱:ithelei@sina.cn
- 技术讨论群:687856230
- GoodLuck
最后
以上就是欢呼哈密瓜最近收集整理的关于hexo d错误:fatal: unable to auto-detect email address的全部内容,更多相关hexo内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复